Click or drag to resize

GenericParameter Class

Inheritance Hierarchy

Namespace:  Mono.Cecil
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 6.11.6526.38290
Syntax
C#
public sealed class GenericParameter : TypeReference, 
	ICustomAttributeProvider, IMetadataTokenProvider

The GenericParameter type exposes the following members.

Constructors
  NameDescription
Public methodGenericParameter(IGenericParameterProvider)
Initializes a new instance of the GenericParameter class
Public methodGenericParameter(String, IGenericParameterProvider)
Initializes a new instance of the GenericParameter class
Public methodGenericParameter(Int32, GenericParameterType, ModuleDefinition)
Initializes a new instance of the GenericParameter class
Top
Properties
  NameDescription
Public propertyAttributes
Public propertyConstraints
Public propertyCustomAttributes
Public propertyDeclaringMethod
Public propertyDeclaringType (Overrides TypeReferenceDeclaringType.)
Public propertyFullName (Overrides TypeReferenceFullName.)
Public propertyGenericParameters (Inherited from TypeReference.)
Public propertyHasConstraints
Public propertyHasCustomAttributes
Public propertyHasDefaultConstructorConstraint
Public propertyHasGenericParameters (Inherited from TypeReference.)
Public propertyHasNotNullableValueTypeConstraint
Public propertyHasReferenceTypeConstraint
Public propertyIsArray (Inherited from TypeReference.)
Public propertyIsByReference (Inherited from TypeReference.)
Public propertyIsContravariant
Public propertyIsCovariant
Public propertyIsDefinition (Inherited from MemberReference.)
Public propertyIsFunctionPointer (Inherited from TypeReference.)
Public propertyIsGenericInstance (Inherited from TypeReference.)
Public propertyIsGenericParameter (Overrides TypeReferenceIsGenericParameter.)
Public propertyIsNested (Inherited from TypeReference.)
Public propertyIsNonVariant
Public propertyIsOptionalModifier (Inherited from TypeReference.)
Public propertyIsPinned (Inherited from TypeReference.)
Public propertyIsPointer (Inherited from TypeReference.)
Public propertyIsPrimitive (Inherited from TypeReference.)
Public propertyIsRequiredModifier (Inherited from TypeReference.)
Public propertyIsSentinel (Inherited from TypeReference.)
Public propertyIsValueType (Inherited from TypeReference.)
Public propertyMetadataToken (Inherited from MemberReference.)
Public propertyMetadataType (Overrides TypeReferenceMetadataType.)
Public propertyModule (Overrides TypeReferenceModule.)
Public propertyName (Overrides TypeReferenceName.)
Public propertyNamespace (Overrides TypeReferenceNamespace.)
Public propertyOwner
Public propertyPosition
Public propertyScope (Overrides TypeReferenceScope.)
Public propertyType
Top
Methods
Fields
  NameDescription
Protected field_genericParameters (Inherited from TypeReference.)
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 MethodGetCategoryOverloaded.
Get the category name.
(Defined by GenericParameterUtil.)
Public Extension MethodGetCategoryOverloaded.
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.)
Public Extension MethodGetCustomAttribute
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodGetCustomAttributes
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.)
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 MethodHasCustomAttribute
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodHasDynamicType
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.)
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