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

◆ IsTypeDefinition()

static bool System.RuntimeTypeHandle.IsTypeDefinition ( RuntimeType type)
inlinestaticpackage

Definition at line 156 of file RuntimeTypeHandle.cs.

157 {
159 if (((int)corElementType < 1 || (int)corElementType >= 15) && corElementType != CorElementType.ELEMENT_TYPE_VALUETYPE && corElementType != CorElementType.ELEMENT_TYPE_CLASS && corElementType != CorElementType.ELEMENT_TYPE_TYPEDBYREF && corElementType != CorElementType.ELEMENT_TYPE_I && corElementType != CorElementType.ELEMENT_TYPE_U && corElementType != CorElementType.ELEMENT_TYPE_OBJECT)
160 {
161 return false;
162 }
164 {
165 return false;
166 }
167 return true;
168 }
static bool HasInstantiation(RuntimeType type)
static bool IsGenericTypeDefinition(RuntimeType type)
static CorElementType GetCorElementType(RuntimeType type)

References System.Runtime.Serialization.Dictionary, System.RuntimeTypeHandle.GetCorElementType(), System.RuntimeTypeHandle.HasInstantiation(), System.RuntimeTypeHandle.IsGenericTypeDefinition(), and System.type.