Skip to content

Fix graph query for records#48451

Merged
jasonmalinowski merged 2 commits intodotnet:masterfrom
Youssef1313:records-graph-query
Oct 12, 2020
Merged

Fix graph query for records#48451
jasonmalinowski merged 2 commits intodotnet:masterfrom
Youssef1313:records-graph-query

Conversation

@Youssef1313
Copy link
Member

Fixes #48449

Before:

image

After:

image

@Youssef1313 Youssef1313 requested a review from a team as a code owner October 8, 2020 19:23
Comment on lines +41 to +42
<Node Id="(@3 Type=R1)" Category="CodeSchema_Class" CodeSchemaProperty_IsInternal="True" CommonLabel="R1" Icon="Microsoft.VisualStudio.Class.Internal" Label="R1"/>
<Node Id="(@3 Type=R2)" Category="CodeSchema_Class" CodeSchemaProperty_IsInternal="True" CommonLabel="R2" Icon="Microsoft.VisualStudio.Class.Internal" Label="R2"/>
Copy link
Member Author

Choose a reason for hiding this comment

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

The records are currently classified as classes (i.e. shows with the same icon as classes) (See the following image):

image

This might be related to #48127

The icons seem to be internal (not in Roslyn repo), and I also think part of the implementation is internal too.

@jinujoseph jinujoseph added Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Oct 8, 2020
@jcouv jcouv added the Feature - Records Records label Oct 8, 2020
Copy link
Member

@jasonmalinowski jasonmalinowski left a comment

Choose a reason for hiding this comment

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

Good but let's revert the Roslyn.sln change.

@jasonmalinowski jasonmalinowski self-assigned this Oct 8, 2020
@jasonmalinowski jasonmalinowski merged commit 04481d2 into dotnet:master Oct 12, 2020
@ghost ghost added this to the Next milestone Oct 12, 2020
@jasonmalinowski
Copy link
Member

Thanks @Youssef1313 for the fix!

@Youssef1313 Youssef1313 deleted the records-graph-query branch October 12, 2020 18:08
@Cosifne Cosifne modified the milestones: Next, 16.9.P1 Oct 12, 2020
@Youssef1313 Youssef1313 mentioned this pull request Feb 18, 2021
92 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. Feature - Records Records

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expanding a file in Visual Studio shows classes but not records

7 participants