14 references to IsIndexer
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Crefs.cs (1)
206
Debug.Assert(sortedSymbols.All(SymbolExtensions.
IsIndexer
));
Binder\Binder_Expressions.cs (2)
3666
if (!methodResult.Member.
IsIndexer
() && !argument.HasAnyErrors && parameterTypeWithAnnotations.Type.ContainsPointer())
9615
Debug.Assert(symbol.
IsIndexer
());
Binder\Binder_Lookup.cs (1)
1290
return symbol.Kind == SymbolKind.Method || symbol.
IsIndexer
();
Compilation\CSharpCompilation.cs (1)
4914
(member.CanBeReferencedByName || member.IsExplicitInterfaceImplementation() || member.
IsIndexer
()) &&
Compilation\CSharpSemanticModel.cs (1)
4114
Debug.Assert(symbol.
IsIndexer
(), "Only indexers can have name " + WellKnownMemberNames.Indexer);
Symbols\MemberSymbolExtensions.cs (1)
666
return member.
IsIndexer
() ? member.MetadataName :
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
717
(!representativeMember.ContainingType.IsDefinition || representativeMember.
IsIndexer
());
Symbols\Source\SourceMemberContainerSymbol.cs (5)
1071
Debug.Assert(haveIndexers == nonTypeMembers.Any(static s => s.
IsIndexer
()));
1592
WhereAsArray(s => !s.IsIndexer() && (!s.IsAccessor() || ((MethodSymbol)s).AssociatedSymbol?.
IsIndexer
() != true)));
1997
symbol.
IsIndexer
())
2198
if (symbol.
IsIndexer
())
2258
Debug.Assert(!membersByName[indexerName.AsMemory()].Any(SymbolExtensions.
IsIndexer
));
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
787
if (overridingMemberIsMethod || overridingMember.
IsIndexer
())