Add comprehensive XML documentation to FileVersionInfo from dotnet-api-docs#124133
Add comprehensive XML documentation to FileVersionInfo from dotnet-api-docs#124133
Conversation
…methods Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
…rsion info Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
|
@copilot which FileVersionInfo.xml file did you use as the source? For example, there are remarks in this file that didn't get backported: https://github.com/dotnet/dotnet-api-docs/blob/18b20a1aa5c04863abb9375ac91c1da34c8bf215/xml/System.Diagnostics/FileVersionInfo.xml#L56. |
I used the FileVersionInfo.xml from |
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>
Description
Migrated comprehensive XML documentation from the
dotnet-api-docsrepository to the FileVersionInfo source code. All public members ofFileVersionInfonow have complete inline documentation including summaries, returns tags, and detailed remarks sections with examples.Changes
<returns>tags to 27 properties documenting return values and null/zero behavior when version info is missingGetVersionInfo:<param>,<exception>, and<returns>tagsToStringdocumentation with multi-line<returns>listing all properties included in output0instead ofnullforFileBuildPart,FilePrivatePart,ProductBuildPart,ProductMajorPart,ProductMinorPart,ProductPrivatePart<remarks>sections to the FileVersionInfo class and all 28 public members (26 properties + 2 methods) with markdown-formatted content including:Source
Documentation was migrated from the authoritative source at https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Diagnostics/FileVersionInfo.xml, ensuring all remarks, examples, and supplementary documentation are preserved.
Example
Before:
After:
Testing
<format type="text/markdown"><![CDATA[blocksOriginal 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.