7 references to ERR_SpreadMissingMember
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
811
(false, false, true) => ErrorCode.
ERR_SpreadMissingMember
,
Errors\ErrorFacts.cs (1)
2431
or ErrorCode.
ERR_SpreadMissingMember
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Semantics\CollectionExpressionTests.cs (5)
4486
Diagnostic(ErrorCode.
ERR_SpreadMissingMember
, "x").WithArguments("object", "GetEnumerator").WithLocation(7, 22),
4489
Diagnostic(ErrorCode.
ERR_SpreadMissingMember
, "x").WithArguments("object", "GetEnumerator").WithLocation(8, 25));
6554
Diagnostic(ErrorCode.
ERR_SpreadMissingMember
, "new object()").WithArguments("object", "GetEnumerator").WithLocation(3, 9));
10469
Diagnostic(ErrorCode.
ERR_SpreadMissingMember
, "x").WithArguments("object", "GetEnumerator").WithLocation(6, 25));
33415
Diagnostic(ErrorCode.
ERR_SpreadMissingMember
, "(x is null)").WithArguments("bool", "GetEnumerator").WithLocation(3, 18)