Skip to content
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

Fix graph query for records #48451

Merged
merged 2 commits into from
Oct 12, 2020

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
Roslyn.sln Outdated Show resolved Hide resolved
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
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. New Language 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