7 references to GetAsyncEnumeratorMethodName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
745
=> symbol.Name == WellKnownMemberNames.
GetAsyncEnumeratorMethodName
&&
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachLoopBinder.cs (4)
801
collectionExprType, isAsync ? WellKnownMemberNames.
GetAsyncEnumeratorMethodName
: WellKnownMemberNames.GetEnumeratorMethodName);
982
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, collectionSyntax.Location, unwrappedCollectionExprType, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
);
1093
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, collectionSyntax.Location, unwrappedCollectionExprType, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
);
1325
string methodName = isAsync ? WellKnownMemberNames.
GetAsyncEnumeratorMethodName
: WellKnownMemberNames.GetEnumeratorMethodName;
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
525
searchScope, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
, type,
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
745
=> symbol.Name == WellKnownMemberNames.
GetAsyncEnumeratorMethodName
&&