8 overrides of IsIndexer
Microsoft.CodeAnalysis.CSharp (8)
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
61public override bool IsIndexer
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
117public override bool IsIndexer
Symbols\ErrorPropertySymbol.cs (1)
52public override bool IsIndexer { get { return _isIndexer; } }
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
651public override bool IsIndexer
Symbols\SignatureOnlyPropertySymbol.cs (1)
104public override bool IsIndexer { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourcePropertySymbolBase.cs (1)
575public override bool IsIndexer
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListProperty.cs (1)
41public override bool IsIndexer => Parameters.Length > 0;
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
55public override bool IsIndexer
19 references to IsIndexer
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (1)
4629PropertySymbol { IsIndexer: true } indexer => getIndexerEscape(indexer, left, rightEscape),
Binder\Binder_Expressions.cs (3)
9629if (property.IsIndexer || !property.IsIndexedProperty) 9806var name = candidate.IsIndexer ? SyntaxFacts.GetText(SyntaxKind.ThisKeyword) : candidate.Name; 10218return new ErrorPropertySymbol(candidate.ContainingType, propertyType, candidate.Name, candidate.IsIndexer, candidate.IsIndexedProperty);
BoundTree\BoundExpression.cs (1)
376if (!indexer.IsIndexer && indexer.IsIndexedProperty)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
327else if ((object)propertyAccess != null && propertyAccess.IsIndexedProperty() && !propertyAccess.IsIndexer)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
185Debug.Assert(!property.IsIndexer); 205Debug.Assert(indexer.IsIndexer || indexer.IsIndexedProperty);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
70Debug.Assert(node.Indexer.IsIndexer || node.Indexer.IsIndexedProperty); 79Debug.Assert(indexer.IsIndexer || indexer.IsIndexedProperty);
Symbols\MemberSymbolExtensions.cs (1)
183return symbol.Kind == SymbolKind.Property && ((PropertySymbol)symbol).IsIndexer;
Symbols\NamedTypeSymbol.cs (1)
322Debug.Assert(((PropertySymbol)candidate).IsIndexer);
Symbols\PropertySymbol.cs (1)
359internal bool CanHaveOverloadResolutionPriority => !IsOverride && !IsExplicitInterfaceImplementation && (IsIndexer || IsIndexedProperty);
Symbols\PropertySymbolExtensions.cs (1)
66return property.IsIndexedProperty && (!property.IsIndexer || property.HasRefOrOutParameter());
Symbols\PublicModel\PropertySymbol.cs (1)
28get { return _underlying.IsIndexer; }
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3847string propertyName = propertySymbol.IsIndexer ? propertySymbol.MetadataName : propertySymbol.Name;
Symbols\Symbol.cs (1)
659if (property.IsIndexer || property.MustCallMethodsDirectly)
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
331return !property.IsIndexer && !property.IsOverride && property.GetMethod is not null;
Symbols\Wrapped\WrappedPropertySymbol.cs (1)
59return _underlyingProperty.IsIndexer;