Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetGenericTypeDefinition()

override Type System.RuntimeType.GetGenericTypeDefinition ( )
inlinevirtual

Reimplemented from System.Type.

Definition at line 3494 of file RuntimeType.cs.

3495 {
3496 if (!IsGenericType)
3497 {
3498 throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
3499 }
3500 return RuntimeTypeHandle.GetGenericTypeDefinition(this);
3501 }
override bool IsGenericType

References System.RuntimeTypeHandle.GetGenericTypeDefinition(), and System.SR.InvalidOperation_NotGenericType.