Class DirectMethodSpecialization
A generic method specialization obtained by passing type arguments directly to a generic declaration.
Inherited Members
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 SourceDirectMethodSpecialization(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 SourceFullName
Gets the member's full name.
Declaration
public override QualifiedName FullName { get; }
Property Value
Type | Description |
---|---|
QualifiedName |
Overrides
| Improve this Doc View SourceGenericArguments
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. |
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
| Improve this Doc View SourceName
Gets the member's unqualified name.
Declaration
public override UnqualifiedName Name { get; }
Property Value
Type | Description |
---|---|
UnqualifiedName |
Overrides
| Improve this Doc View SourceParentType
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. |