GenericTypeParameterBuilder.GetGenericTypeDefinition Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Not valid for generic type parameters.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override Type GetGenericTypeDefinition()

Return Value

Type: System.Type

Not valid for generic type parameters.

Exception Condition

In all cases.

In a constructed type, the type that is assigned to a generic type parameter can be a generic type, but the type parameter itself is not generic.

.NET Framework
Available since 2.0
Available since 2.0
Return to top