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