Skip to content

Update XML output for extensions #9416

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BillWagner
Copy link
Member

This PR updates the sample code and text output to match the current compiler output.

This PR updates the sample code and text output to match the current compiler output.
@BillWagner BillWagner requested a review from a team as a code owner May 30, 2025 13:06
@BillWagner
Copy link
Member Author

@jcouv This changes matches what I'm seeing in the latest compiler. Can you verify?

@BillWagner
Copy link
Member Author

/cc @huangmin-ms

</member>
<member name="M:E.M``2(``0,``1)">
<inheritdoc cref="M:E.<>E__0`1.M``1(``0)"/>
<member name="M:ClassLibrary6.E..AddValue(System.Int32)">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong expectation. The correct output is <member name="M:ClassLibrary6.E.&lt;&gt;E__0.AddValue(System.Int32)">.

The same comment applies elsewhere: the extension block should appear with its synthesized name (<>E__ followed by an index) and the synthesized name should be escaped (fix pending).

@jcouv jcouv self-assigned this May 30, 2025
@BillWagner BillWagner marked this pull request as draft June 3, 2025 15:50
@BillWagner
Copy link
Member Author

Converting to draft. I'll update after dotnet/roslyn#78735 gets merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants