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

GetSymbolInfo() should return the resolved method from a method group with inferred delegate type #52870

Open
cston opened this issue Apr 23, 2021 · 1 comment

Comments

@cston
Copy link
Member

cston commented Apr 23, 2021

Currently GetSymbolInfo() returns null for method groups with inferred delegate type, such as for the expression Main below.

class Program
{
    static void Main()
    {
        System.Delegate d = Main;
    }
}

Relates to "lambda improvements" feature (test plan)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 23, 2021
@cston cston self-assigned this Apr 23, 2021
@jcouv jcouv removed the untriaged Issues and PRs which have not yet been triaged by a lead label Apr 23, 2021
@jcouv jcouv added this to the C# 10 milestone Apr 23, 2021
@jaredpar jaredpar modified the milestones: C# 10, 17.0 Jul 13, 2021
@jcouv jcouv assigned jcouv and unassigned cston Sep 21, 2021
@jaredpar jaredpar modified the milestones: 17.0, 17.1 Sep 23, 2021
@jcouv jcouv removed their assignment Oct 1, 2021
@jcouv jcouv modified the milestones: 17.1, Compiler.Next Mar 17, 2022
@jcouv
Copy link
Member

jcouv commented Mar 17, 2022

Assigned to @cston and milestone Compiler.Next. Feel free to further triage.

@jaredpar jaredpar modified the milestones: Compiler.Next, Backlog Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants