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

Handle records in documentation comments in IDE side #52737

Merged
merged 2 commits into from
May 2, 2021

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Apr 19, 2021

Addresses part of #52663.

The thing left for that issue is:

IDE may choose to adjust inheritance logic so that properties show some information from associated parameter

@jcouv Please add this to record structs test plan. Thanks.

@@ -270,6 +270,7 @@ public static bool IsEmbeddedStatementOwner([NotNullWhen(returnValue: true)] thi
SyntaxKind.ParenthesizedLambdaExpression => ((ParenthesizedLambdaExpressionSyntax)declaration).ParameterList,
SyntaxKind.LocalFunctionStatement => ((LocalFunctionStatementSyntax)declaration).ParameterList,
SyntaxKind.AnonymousMethodExpression => ((AnonymousMethodExpressionSyntax)declaration).ParameterList,
SyntaxKind.RecordDeclaration => ((RecordDeclarationSyntax)declaration).ParameterList,
Copy link
Member

Choose a reason for hiding this comment

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

note to @jcouv to have this in the record-struct branch.

@jcouv jcouv mentioned this pull request Apr 19, 2021
92 tasks
@jinujoseph jinujoseph added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Apr 22, 2021
@Youssef1313
Copy link
Member Author

@CyrusNajmabadi Is this ready to merge?

@Youssef1313
Copy link
Member Author

Pinging @CyrusNajmabadi.

@CyrusNajmabadi CyrusNajmabadi merged commit bc98ed9 into dotnet:main May 2, 2021
@ghost ghost added this to the Next milestone May 2, 2021
@CyrusNajmabadi
Copy link
Member

thanks!

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants