-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Removing unnecessary comments #114190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jkotas
merged 10 commits into
dotnet:main
from
thaystg:dev/thays/remove_useless_comment_code
Apr 5, 2025
Merged
Removing unnecessary comments #114190
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3d35d8f
Removing unnecessary comments
thaystg 43b6752
removing content
thaystg 800ab08
Merge branch 'main' into dev/thays/remove_useless_comment_code
thaystg 0f2aa94
Removing content of files.
thaystg 16d661f
FIxing newline and adding the content again.
thaystg 61fa47b
Merge branch 'main' into dev/thays/remove_useless_comment_code
thaystg 07f783c
Addressing Jank comments
thaystg 4293246
Reducing more the number of the methods
thaystg 057cd57
Fix build error
thaystg 951b828
Merge branch 'main' into dev/thays/remove_useless_comment_code
thaystg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
33 changes: 7 additions & 26 deletions
33
...m.Reflection.Metadata.ApplyUpdate.Test.IncreaseMetadataRowSize/IncreaseMetadataRowSize.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,19 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| using System; | ||
| namespace System.Reflection.Metadata.ApplyUpdate.Test | ||
| { | ||
| // This file was autogenerated by copilot. | ||
| public static class IncreaseMetadataRowSize | ||
| { | ||
| public static void Main(string[] args) { } | ||
| public static int Method1() | ||
| public static int VeryLooooooooooooooooooooooooooooooooongMethodNameToPushTheStringBlobOver64k_1() | ||
| { | ||
| return 0; | ||
| } | ||
|
|
||
| public static void Method2(int x2) | ||
| { | ||
| // Example body for Method2 | ||
| // You can implement logic for x2 here if desired. | ||
| } | ||
|
|
||
| public static void Method3(int x3) | ||
| { | ||
| // Example body for Method3 | ||
| // You can implement logic for x3 here if desired. | ||
| } | ||
|
|
||
| public static void Method4(int x4) | ||
| { | ||
| // Example body for Method4 | ||
| // You can implement logic for x4 here if desired. | ||
| } | ||
|
|
||
| public static void Method5(int x5) | ||
| { | ||
| // Example body for Method5 | ||
| // You can implement logic for x5 here if desired. | ||
| } | ||
| public static void VeryLooooooooooooooooooooooooooooooooongMethodNameToPushTheStringBlobOver64k_2(int x2) {} | ||
| public static void VeryLooooooooooooooooooooooooooooooooongMethodNameToPushTheStringBlobOver64k_3(int x3) {} | ||
| public static void VeryLooooooooooooooooooooooooooooooooongMethodNameToPushTheStringBlobOver64k_4(int x4) {} | ||
| public static void VeryLooooooooooooooooooooooooooooooooongMethodNameToPushTheStringBlobOver64k_5(int x5) {} | ||
| } | ||
|
|
||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add license headers?
Also, "This file was autogenerated by copilot." is not useful and it should be deleted. If we were adding a comment like that to all pieces of code that AI helped with, we would have them all over the place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.