10 references to GetEnumeratorMethodName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
705=> symbol.Name == WellKnownMemberNames.GetEnumeratorMethodName &&
Microsoft.CodeAnalysis.CSharp (3)
Binder\ForEachLoopBinder.cs (3)
801collectionExprType, isAsync ? WellKnownMemberNames.GetAsyncEnumeratorMethodName : WellKnownMemberNames.GetEnumeratorMethodName); 975diagnostics.Add(ErrorCode.ERR_ForEachMissingMember, collectionSyntax.Location, unwrappedCollectionExprType, WellKnownMemberNames.GetEnumeratorMethodName); 1325string methodName = isAsync ? WellKnownMemberNames.GetAsyncEnumeratorMethodName : WellKnownMemberNames.GetEnumeratorMethodName;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
989string.Compare(renameSymbol.Name, WellKnownMemberNames.GetEnumeratorMethodName, StringComparison.OrdinalIgnoreCase) == 0 ||
Microsoft.CodeAnalysis.Features (2)
AddImport\SymbolReferenceFinder.cs (1)
500searchScope, WellKnownMemberNames.GetEnumeratorMethodName, type,
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
259containingType, collectionType, WellKnownMemberNames.GetEnumeratorMethodName);
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\Binder_Statements.vb (1)
4102If Not GetMemberIfMatchesRequirements(WellKnownMemberNames.GetEnumeratorMethodName,
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\FindReferences\Finders\OrdinaryMethodReferenceFinder.cs (1)
103=> methodSymbol.Name is WellKnownMemberNames.GetEnumeratorMethodName or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
705=> symbol.Name == WellKnownMemberNames.GetEnumeratorMethodName &&