Replies: 1 comment 1 reply
-
This just looks like a roslyn bug: the example is saying that we should be translating this code into a degenerate query, but we are not doing so. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The spec says in a sample that:
is translated to:
which is not what actually happens because (e.g. roslyn) does not interpret the Where method call as part of the Linq query and produces:
For roslyn it is a
degenerate query
(see link).Shouldn't the sample changed to:
Beta Was this translation helpful? Give feedback.
All reactions