Class ClrAccessorDefinition
A Flame accessor that wraps an IL method definition.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Clr
Assembly: Flame.Clr.dll
Syntax
public sealed class ClrAccessorDefinition : ClrMethodDefinition, IBodyMethod, IAccessor, IMethod, ITypeMember, IGenericMember, IMember
Constructors
| Improve this Doc View SourceClrAccessorDefinition(MethodDefinition, AccessorKind, ClrPropertyDefinition)
Creates a wrapper around an IL accessor definition.
Declaration
public ClrAccessorDefinition(MethodDefinition definition, AccessorKind kind, ClrPropertyDefinition parentProperty)
Parameters
Type | Name | Description |
---|---|---|
Mono.Cecil.MethodDefinition | definition | The method definition to wrap in a Flame accessor. |
AccessorKind | kind | The kind of definition described by the accessor. |
ClrPropertyDefinition | parentProperty | The definition's declaring property. |
Properties
| Improve this Doc View SourceKind
Gets this accessor's kind.
Declaration
public AccessorKind Kind { get; }
Property Value
Type | Description |
---|---|
AccessorKind | The accessor's kind. |
ParentProperty
Gets this accessor's parent property: the property that defines it.
Declaration
public IProperty ParentProperty { get; }
Property Value
Type | Description |
---|---|
IProperty | The accessor's parent property. |