7 references to ERR_SpreadMissingMember
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
814(false, false, true) => ErrorCode.ERR_SpreadMissingMember,
Errors\ErrorFacts.cs (1)
2430or ErrorCode.ERR_SpreadMissingMember
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Semantics\CollectionExpressionTests.cs (5)
4485Diagnostic(ErrorCode.ERR_SpreadMissingMember, "x").WithArguments("object", "GetEnumerator").WithLocation(7, 22), 4488Diagnostic(ErrorCode.ERR_SpreadMissingMember, "x").WithArguments("object", "GetEnumerator").WithLocation(8, 25)); 8393Diagnostic(ErrorCode.ERR_SpreadMissingMember, "new object()").WithArguments("object", "GetEnumerator").WithLocation(3, 9)); 12309Diagnostic(ErrorCode.ERR_SpreadMissingMember, "x").WithArguments("object", "GetEnumerator").WithLocation(6, 25)); 36107Diagnostic(ErrorCode.ERR_SpreadMissingMember, "(x is null)").WithArguments("bool", "GetEnumerator").WithLocation(3, 18)