Unexpected value QueryClause
of type Microsoft.CodeAnalysis.CSharp.BoundKind
#75194
Labels
Milestone
QueryClause
of type Microsoft.CodeAnalysis.CSharp.BoundKind
#75194
Version Used:
VS 17.12 p2
Steps to Reproduce:
Type code using customized
Select
method (but use query syntax to reproduce) and collection expression spread operation:I'm not sure whether the failure should use spread operation, but my environment can reproduce by using this; one necessary condition is to use LINQ query syntax.
If query syntax is replaced with equivalent method invocation, the code will be fine to compile:
Diagnostic Id:
None
Expected Behavior:
Fine to compile.
Actual Behavior:
"csc.exe" exited with code -2146232797.
Failed message:
The text was updated successfully, but these errors were encountered: