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