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