Show / Hide Table of Contents

    Class FlagAttribute

    A collection of constants and methods that relate to simple flag attributes.

    Inheritance
    System.Object
    FlagAttribute
    Inherited Members
    System.Object.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 static class FlagAttribute

    Fields

    | Improve this Doc View Source

    Abstract

    An attribute that identifies a type or method as abstract.

    Declaration
    public static readonly IntrinsicAttribute Abstract
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    | Improve this Doc View Source

    InterfaceType

    An attribute that identifies a type as an interface.

    Declaration
    public static readonly IntrinsicAttribute InterfaceType
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    | Improve this Doc View Source

    InternalCall

    An attribute that identifies a method as being implemented by an "internal call" to the runtime. That is, if the runtime is responsible for implementing the method.

    Declaration
    public static readonly IntrinsicAttribute InternalCall
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    | Improve this Doc View Source

    ReferenceType

    An attribute that identifies types as reference types.

    Declaration
    public static readonly IntrinsicAttribute ReferenceType
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    | Improve this Doc View Source

    SpecialType

    An attribute that identifies a type as special, i.e., it is a "regular" type that contains more information than its fields alone.

    Declaration
    public static readonly IntrinsicAttribute SpecialType
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    | Improve this Doc View Source

    Virtual

    An attribute that identifies a type or method as virtual, that is, eligible for inheritance and overriding, respectively.

    Declaration
    public static readonly IntrinsicAttribute Virtual
    Field Value
    Type Description
    IntrinsicAttribute

    An intrinsic attribute.

    Methods

    | Improve this Doc View Source

    IsAbstract(IMethod)

    Tests if a particular method is abstract.

    Declaration
    public static bool IsAbstract(this IMethod method)
    Parameters
    Type Name Description
    IMethod method

    The method to test.

    Returns
    Type Description
    System.Boolean

    true if the method is abstract; otherwise, false.

    | Improve this Doc View Source

    IsAbstract(IType)

    Tests if a particular type is abstract.

    Declaration
    public static bool IsAbstract(this IType type)
    Parameters
    Type Name Description
    IType type

    The type to test.

    Returns
    Type Description
    System.Boolean

    true if the type is abstract; otherwise, false.

    | Improve this Doc View Source

    IsInterfaceType(IType)

    Tests if a particular type is definitely an interface type.

    Declaration
    public static bool IsInterfaceType(this IType type)
    Parameters
    Type Name Description
    IType type

    The type to test.

    Returns
    Type Description
    System.Boolean

    true if the type is definitely an interface type; otherwise, false.

    | Improve this Doc View Source

    IsInternalCall(IMethod)

    Tests if a particular method is implemented by an "internal call" to the runtime. That is, if the runtime is responsible for implementing the method.

    Declaration
    public static bool IsInternalCall(this IMethod method)
    Parameters
    Type Name Description
    IMethod method

    The method to test.

    Returns
    Type Description
    System.Boolean

    true if the method is implemented by an internal call; otherwise, false.

    | Improve this Doc View Source

    IsReferenceType(IType)

    Tests if a particular type is definitely a reference type.

    Declaration
    public static bool IsReferenceType(this IType type)
    Parameters
    Type Name Description
    IType type

    The type to test.

    Returns
    Type Description
    System.Boolean

    true if the type is definitely a reference type; otherwise, false.

    | Improve this Doc View Source

    IsSpecialType(IType)

    Tests if a particular type is definitely a special type.

    Declaration
    public static bool IsSpecialType(this IType type)
    Parameters
    Type Name Description
    IType type

    The type to test.

    Returns
    Type Description
    System.Boolean

    true if the type is definitely a special type; otherwise, false.

    | Improve this Doc View Source

    IsVirtual(IMethod)

    Tests if a particular method is virtual.

    Declaration
    public static bool IsVirtual(this IMethod method)
    Parameters
    Type Name Description
    IMethod method

    The method to test.

    Returns
    Type Description
    System.Boolean

    true if the method is virtual; otherwise, false.

    | Improve this Doc View Source

    IsVirtual(IType)

    Tests if a particular type is virtual.

    Declaration
    public static bool IsVirtual(this IType type)
    Parameters
    Type Name Description
    IType type

    The type to test.

    Returns
    Type Description
    System.Boolean

    true if the type is virtual; otherwise, false.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX