Show / Hide Table of Contents

    Class DirectMethodSpecialization

    A generic method specialization obtained by passing type arguments directly to a generic declaration.

    Inheritance
    System.Object
    MethodSpecialization
    DirectMethodSpecialization
    Implements
    IMethod
    ITypeMember
    IGenericMember
    IMember
    Inherited Members
    MethodSpecialization.InitializeInstance(MethodSpecialization)
    MethodSpecialization.Declaration
    MethodSpecialization.IsConstructor
    MethodSpecialization.IsStatic
    MethodSpecialization.ReturnParameter
    MethodSpecialization.Parameters
    MethodSpecialization.BaseMethods
    MethodSpecialization.Attributes
    MethodSpecialization.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 sealed class DirectMethodSpecialization : MethodSpecialization, IMethod, ITypeMember, IGenericMember, IMember

    Constructors

    | Improve this Doc View Source

    DirectMethodSpecialization(IMethod, IReadOnlyList<IType>)

    Creates a direct method specialization.

    Declaration
    public DirectMethodSpecialization(IMethod declaration, IReadOnlyList<IType> genericArguments)
    Parameters
    Type Name Description
    IMethod declaration

    The generic method to specialize.

    System.Collections.Generic.IReadOnlyList<IType> genericArguments

    A sequence of type arguments to specialize the method with.

    Properties

    | Improve this Doc View Source

    FullName

    Gets the member's full name.

    Declaration
    public override QualifiedName FullName { get; }
    Property Value
    Type Description
    QualifiedName
    Overrides
    MethodSpecialization.FullName
    | Improve this Doc View Source

    GenericArguments

    Gets the generic arguments that were passed to this method.

    Declaration
    public IReadOnlyList<IType> GenericArguments { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IType>

    The generic arguments.

    | Improve this Doc View Source

    GenericParameters

    Gets the list of generic parameters for this generic member.

    Declaration
    public override IReadOnlyList<IGenericParameter> GenericParameters { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IGenericParameter>

    The generic parameters.

    Overrides
    MethodSpecialization.GenericParameters
    | Improve this Doc View Source

    Name

    Gets the member's unqualified name.

    Declaration
    public override UnqualifiedName Name { get; }
    Property Value
    Type Description
    UnqualifiedName
    Overrides
    MethodSpecialization.Name
    | Improve this Doc View Source

    ParentType

    Gets the parent type specialization that defines this method specialization.

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

    The parent type specialization.

    Overrides
    MethodSpecialization.ParentType

    Implements

    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