6 references to ERR_ForEachMissingMemberWrongAsync
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
809
(true, false, _) => ErrorCode.
ERR_ForEachMissingMemberWrongAsync
,
Errors\ErrorFacts.cs (1)
1906
or ErrorCode.
ERR_ForEachMissingMemberWrongAsync
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenAwaitForeachTests.cs (4)
1489
Diagnostic(ErrorCode.
ERR_ForEachMissingMemberWrongAsync
, "new C()").WithArguments("C", "GetEnumerator").WithLocation(6, 27)
1511
Diagnostic(ErrorCode.
ERR_ForEachMissingMemberWrongAsync
, "collection").WithArguments("System.Collections.Generic.IAsyncEnumerable<int>", "GetEnumerator").WithLocation(7, 27)
1565
Diagnostic(ErrorCode.
ERR_ForEachMissingMemberWrongAsync
, "new C()").WithArguments("C", "GetEnumerator").WithLocation(6, 27)
4991
Diagnostic(ErrorCode.
ERR_ForEachMissingMemberWrongAsync
, "new C()").WithArguments("C", "GetEnumerator").WithLocation(7, 27)