Skip to content

Show a specialized display for anonymous delegates in C##58908

Merged
CyrusNajmabadi merged 16 commits intodotnet:mainfrom
CyrusNajmabadi:anonDelDisplay
Jan 18, 2022
Merged

Show a specialized display for anonymous delegates in C##58908
CyrusNajmabadi merged 16 commits intodotnet:mainfrom
CyrusNajmabadi:anonDelDisplay

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Jan 18, 2022

Fixes #58871

Looks like:

image

This also unifies the behavior between C# and VB here.

@ghost ghost added the Area-IDE label Jan 18, 2022
@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review January 18, 2022 04:25
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner January 18, 2022 04:25
}",
MainDescription("delegate string <anonymous delegate>(ref int)"));
MainDescription("delegate string <anonymous delegate>(ref int)"),
AnonymousTypes(""));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

At the top level we still show it like this. It's the inner references to an anonymous type that go in the Types: section.

@CyrusNajmabadi CyrusNajmabadi merged commit ae335c2 into dotnet:main Jan 18, 2022
@ghost ghost added this to the Next milestone Jan 18, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the anonDelDisplay branch January 20, 2022 20:26
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P1 Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick info needs to show signatures of anonymous delegates.

3 participants