Search Results for

    Show / Hide Table of Contents

    Class TypeSpecialization

    A base type for generic type specializations.

    Inheritance
    object
    TypeSpecialization
    DirectTypeSpecialization
    IndirectGenericParameterSpecialization
    IndirectTypeSpecialization
    Implements
    IType
    IGenericMember
    IMember
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Flame.TypeSystem
    Assembly: Flame.dll
    Syntax
    public abstract class TypeSpecialization : IType, IGenericMember, IMember

    Properties

    | Edit this page View Source

    Attributes

    Gets the member's attributes.

    Declaration
    public AttributeMap Attributes { get; }
    Property Value
    Type Description
    AttributeMap
    | Edit this page View Source

    BaseTypes

    Gets this type's base types. Base types can be either classes or interfaces.

    Declaration
    public IReadOnlyList<IType> BaseTypes { get; }
    Property Value
    Type Description
    IReadOnlyList<IType>

    A read-only list of base types.

    | Edit this page View Source

    Declaration

    Gets the generic type declaration this type instantiates.

    Declaration
    public IType Declaration { get; }
    Property Value
    Type Description
    IType

    The generic type declaration.

    | Edit this page View Source

    Fields

    Gets this type's fields.

    Declaration
    public IReadOnlyList<IField> Fields { get; }
    Property Value
    Type Description
    IReadOnlyList<IField>

    A read-only list of fields.

    | Edit this page View Source

    FullName

    Gets the member's full name.

    Declaration
    public abstract QualifiedName FullName { get; }
    Property Value
    Type Description
    QualifiedName
    | Edit this page View Source

    GenericParameters

    Gets the list of generic parameters for this generic member.

    Declaration
    public abstract IReadOnlyList<IGenericParameter> GenericParameters { get; }
    Property Value
    Type Description
    IReadOnlyList<IGenericParameter>

    The generic parameters.

    | Edit this page View Source

    Methods

    Gets this type's methods.

    Declaration
    public IReadOnlyList<IMethod> Methods { get; }
    Property Value
    Type Description
    IReadOnlyList<IMethod>

    A read-only list of methods.

    | Edit this page View Source

    Name

    Gets the member's unqualified name.

    Declaration
    public abstract UnqualifiedName Name { get; }
    Property Value
    Type Description
    UnqualifiedName
    | Edit this page View Source

    NestedTypes

    Gets the nested types defined by this type.

    Declaration
    public IReadOnlyList<IType> NestedTypes { get; }
    Property Value
    Type Description
    IReadOnlyList<IType>

    A read-only list of nested types.

    | Edit this page View Source

    Parent

    Gets the parent entity that defines and owns this type.

    Declaration
    public abstract TypeParent Parent { get; }
    Property Value
    Type Description
    TypeParent

    The parent entity.

    | Edit this page View Source

    Properties

    Gets this type's properties.

    Declaration
    public IReadOnlyList<IProperty> Properties { get; }
    Property Value
    Type Description
    IReadOnlyList<IProperty>

    A read-only list of properties.

    Methods

    | Edit this page View Source

    Initialize()

    Initializes a generic type.

    Declaration
    protected void Initialize()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Implements

    IType
    IGenericMember
    IMember

    Extension Methods

    AccessModifierAttribute.GetAccessModifier(IMember)
    TypeExtensions.GetAllInstanceFields(IType)
    TypeExtensions.GetDefiningAssemblyOrNull(IType)
    TypeExtensions.GetGenericArguments(IType)
    TypeExtensions.GetImplementationOf(IType, IMethod)
    TypeExtensions.GetRecursiveGenericArgumentMapping(IType)
    TypeExtensions.GetRecursiveGenericArguments(IType)
    TypeExtensions.GetRecursiveGenericDeclaration(IType)
    TypeExtensions.GetRecursiveGenericParameters(IType)
    TypeExtensions.IsPointerType(IType)
    TypeExtensions.IsPointerType(IType, PointerKind)
    TypeExtensions.IsRecursiveGenericInstance(IType)
    TypeExtensions.MakeGenericType(IType, params IType[])
    TypeExtensions.MakeGenericType(IType, IReadOnlyList<IType>)
    TypeExtensions.MakePointerType(IType, PointerKind)
    TypeExtensions.MakeRecursiveGenericType(IType, IReadOnlyList<IType>)
    FlagAttribute.IsAbstract(IType)
    FlagAttribute.IsInterfaceType(IType)
    FlagAttribute.IsReferenceType(IType)
    FlagAttribute.IsSpecialType(IType)
    FlagAttribute.IsVirtual(IType)
    IntegerSpecAttribute.GetIntegerSpecOrNull(IType)
    IntegerSpecAttribute.IsIntegerType(IType)
    IntegerSpecAttribute.IsSignedIntegerType(IType)
    IntegerSpecAttribute.IsUnsignedIntegerType(IType)
    VirtualMethodSetExtensions.GetMethodsAndAccessors(IType)
    VirtualMethodSetExtensions.GetVirtualMethodSet(IType)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX