Show / Hide Table of Contents

    Class ClrAccessorDefinition

    A Flame accessor that wraps an IL method definition.

    Inheritance
    System.Object
    ClrMethodDefinition
    ClrAccessorDefinition
    Implements
    IBodyMethod
    IAccessor
    IMethod
    ITypeMember
    IGenericMember
    IMember
    Inherited Members
    ClrMethodDefinition.Definition
    ClrMethodDefinition.ParentType
    ClrMethodDefinition.IsConstructor
    ClrMethodDefinition.IsStatic
    ClrMethodDefinition.Name
    ClrMethodDefinition.FullName
    ClrMethodDefinition.GenericParameters
    ClrMethodDefinition.ReturnParameter
    ClrMethodDefinition.Parameters
    ClrMethodDefinition.BaseMethods
    ClrMethodDefinition.Attributes
    ClrMethodDefinition.ITypeMember.ParentType
    ClrMethodDefinition.Body
    ClrMethodDefinition.ToString()
    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 Source

    ClrAccessorDefinition(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 Source

    Kind

    Gets this accessor's kind.

    Declaration
    public AccessorKind Kind { get; }
    Property Value
    Type Description
    AccessorKind

    The accessor's kind.

    | Improve this Doc View Source

    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.

    Implements

    IBodyMethod
    IAccessor
    IMethod
    ITypeMember
    IGenericMember
    IMember

    Extension Methods

    MemorySpecificationExtensions.GetMemorySpecification(IMethod)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX