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

Показывает не тот .AsParallel для IntRange в анализаторе кода #285

Open
SunSerega opened this issue Nov 20, 2023 · 1 comment

Comments

@SunSerega
Copy link

## var s := (1..10).AsParallel.Where(x->true);

Показывает будто вызывается IEnumerable.AsParallel, хотя на самом деле там вызывается IEnumerable<integer>.AsParallel.
Из за этого далее при наведении на .Where не показывает ничего - потому что это метод типа ParallelQuery<T> а не ParallelQuery (второй без типа элементов).

@SunSerega
Copy link
Author

Если добавить .AsEnumerable то всё показывает правильно:

## var s := (1..10).AsEnumerable.AsParallel.Where(x->true);

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