-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Update 'implement interface' to forward explicit members to implicit ones #76044
Update 'implement interface' to forward explicit members to implicit ones #76044
Conversation
{ | ||
get | ||
{ | ||
return Current; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is "fine". it's the legacy apis calling to the modern ones.
@@ -209,12 +213,27 @@ public static ImmutableArray<SyntaxNode> GetGetAccessorStatements( | |||
return [generator.ReturnStatement(expression)]; | |||
} | |||
|
|||
return preferAutoProperties ? default : generator.CreateThrowNotImplementedStatementBlock(compilation); | |||
if (preferAutoProperties) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
honestly. i'm really trying to hit the sweet spot here.
...rkspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/SyntaxGeneratorExtensions.cs
Outdated
Show resolved
Hide resolved
Not from this PR, but should the "value" string be changed on line 252 too? Refers to: src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/SyntaxGeneratorExtensions.cs:265 in 0052955. [](commit_id = 0052955, deletion_comment = True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caring level is low. I'm focusing on issues peoplee report. |
Fixes #67023