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

Iterator of a foreach loop in C# is not found as a definition #437

Open
Zambito1 opened this issue May 24, 2023 · 0 comments
Open

Iterator of a foreach loop in C# is not found as a definition #437

Zambito1 opened this issue May 24, 2023 · 0 comments

Comments

@Zambito1
Copy link

Thank you for this great package :)

I think I noticed a fairly simple bug: the iterator of a C# foreach loop is not returned as a definition. Consider the following block:

foreach (int x in int[0])
{
    Console.WriteLine(x);
}

When using dumb-jump on x here, the int x is not returned as a location to jump to. I think it should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant