TypeSpecification Methods |
The TypeSpecification type exposes the following members.
Name | Description | |
---|---|---|
CheckedResolve | (Inherited from TypeReference.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetElementType | (Overrides TypeReferenceGetElementType.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsTypeOf | (Inherited from TypeReference.) | |
IsTypeSpecification | (Inherited from TypeReference.) | |
MakeArrayType | (Inherited from TypeReference.) | |
MakeArrayType(Int32) | (Inherited from TypeReference.) | |
MakeByReferenceType | (Inherited from TypeReference.) | |
MakeGenericInstanceType | (Inherited from TypeReference.) | |
MakeOptionalModifierType | (Inherited from TypeReference.) | |
MakePinnedType | (Inherited from TypeReference.) | |
MakePointerType | (Inherited from TypeReference.) | |
MakeRequiredModifierType | (Inherited from TypeReference.) | |
MakeSentinelType | (Inherited from TypeReference.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | (Inherited from TypeReference.) | |
ToString | (Inherited from MemberReference.) |
Name | Description | |
---|---|---|
FindTypeArgument |
Find a type argument for the specified type parameter.
(Defined by TypeDefinitionUtil.) | |
FindTypeArgumentInBase |
Find a type argument in a base class for the specified type parameter.
(Defined by TypeDefinitionUtil.) | |
FindTypeParameterIndex |
Find the index of the specified type parameter.
(Defined by TypeDefinitionUtil.) | |
GetCategory |
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.) | |
GetDelegateParameters |
Get the parameters for a delegate type.
(Defined by TypeDefinitionUtil.) | |
GetDelegateReturnType |
Get the return type for a delegate type.
(Defined by TypeDefinitionUtil.) | |
GetFullName |
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.) | |
GetGenericTypeDefinition |
Get the generic type definition if the type is a generic type instance (otherwise, just return the type).
(Defined by TypeDefinitionUtil.) | |
GetLocalGenericArgumentCount |
Get the number of local generic arguments for the type, NOT including arguments from any enclosing generic types.
(Defined by TypeDefinitionUtil.) | |
GetLocalGenericArguments |
Get the local generic arguments for the type, NOT including arguments from any enclosing generic types.
(Defined by TypeDefinitionUtil.) | |
IsEnum |
Determine if the type is an enum.
(Defined by TypeDefinitionUtil.) | |
IsFixedBufferType |
Determine if the type is a fixed-buffer type.
(Defined by TypeDefinitionUtil.) | |
IsGenericTypeDefinition |
Determine if the type is a generic type definition (as opposed to an instance).
(Defined by TypeDefinitionUtil.) | |
IsNullableType |
Determine if the type is a nullable type.
(Defined by TypeDefinitionUtil.) | |
NonGenericName |
Returns the name without any trailing '`' and type parameter count.
(Defined by TypeDefinitionUtil.) |