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