Base:
property
IsIndexer
Microsoft.CodeAnalysis.CSharp.Symbols.PropertySymbol.IsIndexer
9 references to IsIndexer
Microsoft.CodeAnalysis.CSharp (8)
Symbols\Source\SourcePropertySymbol.cs (2)
459
diagnostics.Add((this.
IsIndexer
? ErrorCode.ERR_BadVisIndexerReturn : ErrorCode.ERR_BadVisPropertyType), Location, this, type.Type);
471
if (this.
IsIndexer
)
Symbols\Source\SourcePropertySymbolBase.cs (6)
110
bool isIndexer =
IsIndexer
;
148
Debug.Assert(!
IsIndexer
);
208
string interfacePropertyName =
IsIndexer
? WellKnownMemberNames.Indexer : ((PropertyDeclarationSyntax)syntax).Identifier.ValueText;
382
Debug.Assert(
IsIndexer
);
662
this.CheckModifiers(isExplicitInterfaceImplementation, Location,
IsIndexer
, diagnostics);
1408
if (!this.
IsIndexer
|| this.IsExplicitInterfaceImplementation)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
270
Assert.True(indexer.
IsIndexer
);