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

SequencePointBuilder: No sequence points generated for nested ILFunctions (i.e., lambdas) #1229

Closed
siegfriedpammer opened this issue Jul 22, 2018 · 1 comment

Comments

@siegfriedpammer
Copy link
Member

Test case:

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine(args.Length);
        Test((a, b) => a + b);
    }

    static void Test(Func<int, int, int> f)
    {
        f(1, 2);
    }
}

Note that this makes the PortablePdbWriter generate an invalid pdb file. We'll need fixes in both areas.

@dgrunwald
Copy link
Member

Cannot reproduce; stepping into lambdas works fine.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants