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

Completion is incorrect for lambda parameters #35222

Closed
333fred opened this issue Apr 23, 2019 · 3 comments
Closed

Completion is incorrect for lambda parameters #35222

333fred opened this issue Apr 23, 2019 · 3 comments
Assignees
Labels
Area-IDE Bug IDE-IntelliSense Completion, Signature Help, Quick Info Resolution-Duplicate The described behavior is tracked in another issue Urgency-Now
Milestone

Comments

@333fred
Copy link
Member

333fred commented Apr 23, 2019

using System;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Test(prog => prog.[||]); // Invoke completion on prog.
        }

        static void Test(Action<Program> d)
        {
        }
    }
}

Invoking completion here brings up the members of Action<Program>, not the members of Program, rendering completion completely useless. cc @ivanbasov.

@333fred 333fred added Bug Area-IDE Urgency-Now IDE-IntelliSense Completion, Signature Help, Quick Info labels Apr 23, 2019
@ivanbasov ivanbasov self-assigned this Apr 23, 2019
@333fred
Copy link
Member Author

333fred commented Apr 23, 2019

Likely a dup of #35027

@ivanbasov ivanbasov added this to the 16.1.P3 milestone Apr 23, 2019
@ivanbasov
Copy link
Contributor

Should be fixed with #35067 but I will double check.

@ivanbasov
Copy link
Contributor

Verified. Fixed with #35067
image

@333fred 333fred added the Resolution-Duplicate The described behavior is tracked in another issue label Apr 23, 2019
svick added a commit to postsharp/Metalama.Compiler that referenced this issue Jul 24, 2024
svick added a commit to postsharp/Metalama.Compiler that referenced this issue Jul 26, 2024
svick added a commit to postsharp/Metalama.Compiler that referenced this issue Jul 26, 2024
…d-paths

dotnet#35222 Better paths for LamaDebug files from source generators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug IDE-IntelliSense Completion, Signature Help, Quick Info Resolution-Duplicate The described behavior is tracked in another issue Urgency-Now
Projects
None yet
Development

No branches or pull requests

2 participants