mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
A query source can be reached through an indexer as well as through a member access or a call: `holder?[0].Where(...).Select(...)` puts an IndexerExpression between the LINQ call and the `?.`. The receiver walk stopped there, so query syntax was still introduced over a source the conditional access had lifted to a nullable value type, and the output failed to compile with CS1936 - the same way as the case that was reported, one node kind further along. IndexerExpression.Target is nullable where MemberReferenceExpression's and InvocationExpression's are not, so only that arm needs to match on the target. Assisted-by: Claude:claude-opus-5[1m]:Claude Codepull/3969/head
2 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue