9 overrides of IsIndexer
Microsoft.CodeAnalysis.CSharp (9)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
62public override bool IsIndexer
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
117public override bool IsIndexer
Symbols\ErrorPropertySymbol.cs (1)
53public override bool IsIndexer { get { return _isIndexer; } }
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
710public override bool IsIndexer
Symbols\SignatureOnlyPropertySymbol.cs (1)
104public override bool IsIndexer { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourcePropertySymbolBase.cs (1)
600public override bool IsIndexer
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
42public override bool IsIndexer => Parameters.Length > 0;
Symbols\Synthesized\SynthesizedEmbeddedAttributePropertySymbol.cs (1)
38public override bool IsIndexer => false;
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
57public override bool IsIndexer
26 references to IsIndexer
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder.cs (1)
806if (property.IsIndexer && property.IsExtensionBlockMember() && property.ContainingModule != Compilation.SourceModule)
Binder\Binder.ValueChecks.cs (1)
4924PropertySymbol { IsIndexer: true } indexer => getIndexerEscape(indexer, left, rightEscape),
Binder\Binder_Expressions.cs (6)
1570ContainingMember() is MethodSymbol { MethodKind: MethodKind.PropertyGet or MethodKind.PropertySet, AssociatedSymbol: PropertySymbol { IsIndexer: false } }) 9254if (!lookupResult.IsMultiViable || lookupResult.Symbols.All(s => s is not PropertySymbol { IsIndexer: true })) 9264if (member is PropertySymbol { IsIndexer: true } property) 11000if (property.IsIndexer || !property.IsIndexedProperty) 11164var name = candidate.IsIndexer ? SyntaxFacts.GetText(SyntaxKind.ThisKeyword) : candidate.Name; 11576return new ErrorPropertySymbol(candidate.ContainingType, propertyType, candidate.Name, candidate.IsIndexer, candidate.IsIndexedProperty);
BoundTree\BoundExpression.cs (1)
386if (!indexer.IsIndexer && indexer.IsIndexedProperty)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
330else if ((object)propertyAccess != null && propertyAccess.IsIndexedProperty() && !propertyAccess.IsIndexer)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
198Debug.Assert(!property.IsIndexer); 220Debug.Assert(indexer.IsIndexer || indexer.IsIndexedProperty);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
71Debug.Assert(node.Indexer.IsIndexer || node.Indexer.IsIndexedProperty); 80Debug.Assert(indexer.IsIndexer || indexer.IsIndexedProperty);
Symbols\MemberSymbolExtensions.cs (1)
429return symbol.Kind == SymbolKind.Property && ((PropertySymbol)symbol).IsIndexer;
Symbols\NamedTypeSymbol.cs (1)
334Debug.Assert(((PropertySymbol)candidate).IsIndexer);
Symbols\PropertySymbol.cs (1)
358=> !IsOverride && !IsExplicitInterfaceImplementation && (IsIndexer || IsIndexedProperty || this.IsExtensionBlockMember());
Symbols\PropertySymbolExtensions.cs (1)
66return property.IsIndexedProperty && (!property.IsIndexer || property.HasRefOrOutParameter());
Symbols\PublicModel\PropertySymbol.cs (1)
28get { return _underlying.IsIndexer; }
Symbols\Source\ExtensionGroupingInfo.cs (1)
824if (member is PropertySymbol { IsIndexer: true } property)
Symbols\Source\SourceMemberContainerSymbol.cs (3)
4542string propertyName = propertySymbol.IsIndexer ? propertySymbol.MetadataName : propertySymbol.Name; 4805Debug.Assert(property.IsIndexer); 4843if (member is PropertySymbol { IsIndexer: true })
Symbols\Symbol.cs (1)
669if (property.IsIndexer || property.MustCallMethodsDirectly)
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
349return !property.IsIndexer && !property.IsOverride && property.GetMethod is not null;
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
61return _underlyingProperty.IsIndexer;