-
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
Do not show unspeakable names in override completion #47979
Conversation
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/OverrideCompletionProviderTests.cs
Show resolved
Hide resolved
} | ||
} | ||
if (!member.CanBeReferencedByName) | ||
return false; |
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 the new check. the rest is just making teh method consistent with flow control.
agree that they must remain unspeakable :) |
...rkspaces/SharedUtilitiesAndExtensions/Compiler/Core/Extensions/INamedTypeSymbolExtensions.cs
Outdated
Show resolved
Hide resolved
…nsions/INamedTypeSymbolExtensions.cs Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
Hello @CyrusNajmabadi! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 12 minutes, a condition that will be fulfilled in about 4 minutes. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
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.
Auto-approval
…/roslyn into overriddenRecord2
|
||
[WpfFact, Trait(Traits.Feature, Traits.Features.Completion)] | ||
[WorkItem(47973, "https://github.com/dotnet/roslyn/issues/47973")] | ||
public async Task NoCloneInOverriddenRecord() |
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.
Does this also need a VB test for VB code inheriting the C# Record?
Fixes #47973