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

Method group is not classified as "method name" when assigned to Delegate #57184

Closed
ufcpp opened this issue Oct 16, 2021 · 0 comments · Fixed by #57410
Closed

Method group is not classified as "method name" when assigned to Delegate #57184

ufcpp opened this issue Oct 16, 2021 · 0 comments · Fixed by #57410
Assignees
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone

Comments

@ufcpp
Copy link
Contributor

ufcpp commented Oct 16, 2021

Version Used:

Version 17.0.0 Preview 5.0
C# Tools 4.0.0-5
.NET 6.0.100-rc.2.21505.57

Steps to Reproduce:

var f = m; // "method name"
Delegate d = m; // "identifier"
MulticastDelegate md = m;
ICloneable c = m;
object obj = m;

int m(string s) => s.Length;

Expected Behavior:

m in Delegate d = m; statement is classified as "method name".

Actual Behavior:

classified as "identifier".

image

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 16, 2021
@jinujoseph jinujoseph added Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 20, 2021
@jinujoseph jinujoseph modified the milestones: Backlog, 17.1 Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants