AsPropertyOrIndexer
Gets the PropertyInfo if this represents a property, otherwise returns null.
Declaration
public PropertyInfo? AsPropertyOrIndexer { get; }
Property Value
Type | Description |
---|---|
PropertyInfo |
Metalama.Framework.Code.Collections
Metalama.Framework.Code.Comparers
Metalama.Framework.Code.DeclarationBuilders
Metalama.Framework.Code.Invokers
Metalama.Framework.Code.SyntaxBuilders
Metalama.Framework.Code.Types
Metalama.Framework.Diagnostics
Metalama.Framework.Eligibility
Gets the PropertyInfo if this represents a property, otherwise returns null.
public PropertyInfo? AsPropertyOrIndexer { get; }
Type | Description |
---|---|
PropertyInfo |