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

Do not show unspeakable names in override completion #47979

Merged
5 commits merged into from
Sep 24, 2020

Conversation

CyrusNajmabadi
Copy link
Member

Fixes #47973

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner September 23, 2020 17:46
}
}
if (!member.CanBeReferencedByName)
return false;
Copy link
Member Author

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.

@jmarolf
Copy link
Contributor

jmarolf commented Sep 23, 2020

agree that they must remain unspeakable :)

CyrusNajmabadi and others added 2 commits September 23, 2020 10:52
…nsions/INamedTypeSymbolExtensions.cs

Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
@ghost
Copy link

ghost commented Sep 23, 2020

Hello @CyrusNajmabadi!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

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 (@msftbot) and give me an instruction to get started! Learn more here.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approval


[WpfFact, Trait(Traits.Feature, Traits.Features.Completion)]
[WorkItem(47973, "https://github.com/dotnet/roslyn/issues/47973")]
public async Task NoCloneInOverriddenRecord()
Copy link
Member

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?

@ghost ghost merged commit 29edeca into dotnet:master Sep 24, 2020
@ghost ghost added this to the Next milestone Sep 24, 2020
@Cosifne Cosifne modified the milestones: Next, 16.9.P1 Oct 12, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the overriddenRecord2 branch April 11, 2021 18:23
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intellisense suggests overriding <Clone>$ on records which extend other records.
7 participants