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