Show / Hide Table of Contents

    Class DescribedAccessor

    A property accessor that can be constructed incrementally in an imperative fashion.

    Inheritance
    System.Object
    DescribedMember
    DescribedGenericMember
    DescribedMethod
    DescribedAccessor
    DescribedBodyAccessor
    Implements
    IAccessor
    IMethod
    ITypeMember
    IGenericMember
    IMember
    Inherited Members
    DescribedMethod.ParentType
    DescribedMethod.IsConstructor
    DescribedMethod.IsStatic
    DescribedMethod.ReturnParameter
    DescribedMethod.Parameters
    DescribedMethod.BaseMethods
    DescribedMethod.AddParameter(Parameter)
    DescribedMethod.AddBaseMethod(IMethod)
    DescribedGenericMember.GenericParameters
    DescribedGenericMember.AddGenericParameter(IGenericParameter)
    DescribedMember.FullName
    DescribedMember.Name
    DescribedMember.Attributes
    DescribedMember.AddAttribute(IAttribute)
    DescribedMember.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.TypeSystem
    Assembly: Flame.dll
    Syntax
    public class DescribedAccessor : DescribedMethod, IAccessor, IMethod, ITypeMember, IGenericMember, IMember

    Constructors

    | Improve this Doc View Source

    DescribedAccessor(IProperty, AccessorKind, UnqualifiedName, Boolean, IType)

    Creates a new accessor.

    Declaration
    public DescribedAccessor(IProperty parentProperty, AccessorKind kind, UnqualifiedName name, bool isStatic, IType returnType)
    Parameters
    Type Name Description
    IProperty parentProperty

    The property in which this accessor is defined.

    AccessorKind kind

    The accessor's kind.

    UnqualifiedName name

    The accessor's name.

    System.Boolean isStatic

    Tells if the accessor should be a static method or an instance method.

    IType returnType

    The type of value returned by the accessor.

    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

    IAccessor
    IMethod
    ITypeMember
    IGenericMember
    IMember

    Extension Methods

    MemorySpecificationExtensions.GetMemorySpecification(IMethod)
    ExceptionSpecificationExtensions.GetExceptionSpecification(IMethod)
    TypeExtensions.GetDefiningAssemblyOrNull(ITypeMember)
    TypeExtensions.MakeGenericMethod(IMethod, IReadOnlyList<IType>)
    TypeExtensions.MakeGenericMethod(IMethod, IType[])
    TypeExtensions.GetRecursiveGenericDeclaration(IMethod)
    TypeExtensions.GetGenericArguments(IMethod)
    TypeExtensions.GetRecursiveGenericArgumentMapping(IMethod)
    AccessModifierAttribute.GetAccessModifier(IMember)
    FlagAttribute.IsAbstract(IMethod)
    FlagAttribute.IsVirtual(IMethod)
    FlagAttribute.IsInternalCall(IMethod)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX