8 references to GetAsyncEnumeratorMethodName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (1)
742
=> symbol.Name == WellKnownMemberNames.
GetAsyncEnumeratorMethodName
&&
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachLoopBinder.cs (4)
812
collectionExprType, isAsync ? WellKnownMemberNames.
GetAsyncEnumeratorMethodName
: WellKnownMemberNames.GetEnumeratorMethodName);
993
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, collectionSyntax.Location, unwrappedCollectionExprType, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
);
1118
diagnostics.Add(ErrorCode.ERR_AwaitForEachMissingMember, collectionSyntax.Location, unwrappedCollectionExprType, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
);
1350
string methodName = isAsync ? WellKnownMemberNames.
GetAsyncEnumeratorMethodName
: WellKnownMemberNames.GetEnumeratorMethodName;
Microsoft.CodeAnalysis.Extensions.Package (1)
Symbols\ISymbolExtensions.cs (1)
742
=> symbol.Name == WellKnownMemberNames.
GetAsyncEnumeratorMethodName
&&
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
528
searchScope, WellKnownMemberNames.
GetAsyncEnumeratorMethodName
, type,
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (1)
742
=> symbol.Name == WellKnownMemberNames.
GetAsyncEnumeratorMethodName
&&