Click or drag to resize

TypeReference Methods

The TypeReference type exposes the following members.

Methods
  NameDescription
Public methodCheckedResolve
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetElementType
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsTypeOf
Public methodIsTypeSpecification
Public methodMakeArrayType
Public methodMakeArrayType(Int32)
Public methodMakeByReferenceType
Public methodMakeGenericInstanceType
Public methodMakeOptionalModifierType
Public methodMakePinnedType
Public methodMakePointerType
Public methodMakeRequiredModifierType
Public methodMakeSentinelType
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolve
Public methodToString (Inherited from MemberReference.)
Top
Extension Methods
  NameDescription
Public Extension MethodFindTypeArgument
Find a type argument for the specified type parameter.
(Defined by TypeDefinitionUtil.)
Public Extension MethodFindTypeArgumentInBase
Find a type argument in a base class for the specified type parameter.
(Defined by TypeDefinitionUtil.)
Public Extension MethodFindTypeParameterIndex
Find the index of the specified type parameter.
(Defined by TypeDefinitionUtil.)
Public Extension MethodGetCategory
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.)
Public Extension MethodGetDelegateParameters
Get the parameters for a delegate type.
(Defined by TypeDefinitionUtil.)
Public Extension MethodGetDelegateReturnType
Get the return type for a delegate type.
(Defined by TypeDefinitionUtil.)
Public Extension MethodGetFullName
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.)
Public Extension MethodGetGenericTypeDefinition
Get the generic type definition if the type is a generic type instance (otherwise, just return the type).
(Defined by TypeDefinitionUtil.)
Public Extension MethodGetLocalGenericArgumentCount
Get the number of local generic arguments for the type, NOT including arguments from any enclosing generic types.
(Defined by TypeDefinitionUtil.)
Public Extension MethodGetLocalGenericArguments
Get the local generic arguments for the type, NOT including arguments from any enclosing generic types.
(Defined by TypeDefinitionUtil.)
Public Extension MethodIsEnum
Determine if the type is an enum.
(Defined by TypeDefinitionUtil.)
Public Extension MethodIsFixedBufferType
Determine if the type is a fixed-buffer type.
(Defined by TypeDefinitionUtil.)
Public Extension MethodIsGenericTypeDefinition
Determine if the type is a generic type definition (as opposed to an instance).
(Defined by TypeDefinitionUtil.)
Public Extension MethodIsNullableType
Determine if the type is a nullable type.
(Defined by TypeDefinitionUtil.)
Public Extension MethodNonGenericName
Returns the name without any trailing '`' and type parameter count.
(Defined by TypeDefinitionUtil.)
Top
See Also