Represents an indexer, i.e. a this[*] property.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IIndexer : IPropertyOrIndexer, IFieldOrPropertyOrIndexer, IHasAccessors, IHasType, IHasParameters, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IEquatable<IDeclaration>, IIndexerInvokerProperties
| Name | Description |
|---|---|
| Definition | Gets the definition of the indexer. If the current declaration is an indexer of a generic type instance, this returns the indexer in the generic type definition. Otherwise, it returns the current instance. |
| ExplicitInterfaceImplementations | Gets a list of interface properties this property explicitly implements. |
| OverriddenIndexer | Gets the base property that is overridden by the current property. |
Methods
| Name | Description |
|---|---|
| ToRef() | Gets a reference that can be used to identify the current declaration across different compilation versions. |