4 references to GetAsyncEnumeratorMethodName
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachLoopBinder.cs (4)
735
collectionExprType, isAsync ?
GetAsyncEnumeratorMethodName
: GetEnumeratorMethodName);
811
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, _syntax.Expression.Location, unwrappedCollectionExprType,
GetAsyncEnumeratorMethodName
);
914
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, _syntax.Expression.Location, unwrappedCollectionExprType,
GetAsyncEnumeratorMethodName
);
1120
string methodName = isAsync ?
GetAsyncEnumeratorMethodName
: GetEnumeratorMethodName;