-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add some xml comments #88433
Add some xml comments #88433
Conversation
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsMostly with regex, then I ended up replacing the text with what's in the docs so they can sync one day. There are still ~100 more files with the old style comments (and many more that don't have XML comments that match the docs) .. perhaps someone in the community is interested in doing more.
|
src/libraries/System.Private.CoreLib/src/System/ArrayTypeMismatchException.cs
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/BadImageFormatException.cs
Show resolved
Hide resolved
OK, done most of the rest. (Not sure why.) |
@carlossanlop would you perhaps have a few mins to sign off? what is the state of your tool/script for porting doc comments into sources? are there working instructions? perhaps I could push this a long a bit at a time in corelib, during coffee breaks so to speak, and do whatever manual fixups as we go. In a few cases the code comment may be better, but I'm guessing that's not many. then we'd slowly be progressing towards sources as doc sourceoftruth. |
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.
Thanks for tagging me @danmoseley . Left a bunch of suggestions for you to consider.
The backporting tool (dotnet-api-docs to runtime) isn't fully working yet, but the other one is (runtime to dotnet-api-docs).
...ibraries/System.Collections.Specialized/src/System/Collections/Specialized/ListDictionary.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/ApplicationException.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/ArgumentNullException.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/NotImplementedException.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/NullReferenceException.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/Resources/FastResourceComparer.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.cs
Outdated
Show resolved
Hide resolved
I'm most interested in this direction. I'd be happy to try a flaky/partial tool if you like, worst case I can't use the results. |
Co-authored-by: Carlos Sánchez López <[email protected]>
…festBasedResourceGroveler.cs Co-authored-by: Carlos Sánchez López <[email protected]>
…ception.cs Co-authored-by: Carlos Sánchez López <[email protected]>
all feedback addressed |
Mostly with regex, then I ended up replacing the text with what's in the docs so they can sync one day.
There are still ~100 more files with the old style comments (and many more that don't have XML comments that match the docs) .. perhaps someone in the community is interested in doing more.