Uh oh!
There was an error while loading. Please reload this page.
Backport XML docs for System.Diagnostics.FileVersionInfo from dotnet-api-docs - #124405
Conversation
…d docs Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Tagging subscribers to this area: @steveisok, @dotnet/area-system-diagnostics |
stephentoub
commented
Mar 4, 2026
@copilot please invoke the code-review skill and post the analysis/comments as a comment on this PR |
🤖 Copilot Code Review — PR #124680Holistic AssessmentMotivation: The PR backports XML documentation from dotnet-api-docs into the source implementation of Approach: The net change (after the ref assembly and csproj reverts based on reviewer feedback) is purely additive Summary: Detailed Findings
|
There was a problem hiding this comment.
Pull request overview
Backports XML documentation from dotnet-api-docs into the System.Diagnostics.FileVersionInfo implementation and switches the project to rely on compiler-generated XML docs.
Changes:
- Added
<value>,<param>, and<returns>XML doc tags toFileVersionInfopublic members. - Corrected int-property documentation to state missing version info yields
0(notnull). - Updated the project file to stop opting out of compiler-generated doc XML.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.cs | Adds/updates XML doc comments for public API surface. |
| src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj | Removes explicit opt-out so compiler-generated docs are used. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
…agnostics/FileVersionInfo.cs
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
🤖 Copilot Code Review — PR #124405Note This review was generated by GitHub Copilot using the Holistic AssessmentMotivation: Backporting XML documentation from dotnet-api-docs into the Approach: The PR adds Summary: Detailed Findings✅ Removing |
gewarren
commented
Apr 9, 2026
/ba-g all failing tests are unrelated. |
Description
Backports XML documentation from dotnet-api-docs to the
System.Diagnostics.FileVersionInfosource implementation.Changes
FileVersionInfo.cs): Added<summary>,<value>,<param>, and<returns>tags to all public membersFileBuildPart,FilePrivatePart,Product*Part) to return0instead ofnullwhen version info is missing (original dotnet-api-docs XML had incorrect null references for value types)Example
Properties now have complete inline documentation:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.