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

◆ HasElementType()

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

Definition at line 203 of file RuntimeTypeHandle.cs.

204 {
206 if (corElementType != CorElementType.ELEMENT_TYPE_ARRAY && corElementType != CorElementType.ELEMENT_TYPE_SZARRAY && corElementType != CorElementType.ELEMENT_TYPE_PTR)
207 {
208 return corElementType == CorElementType.ELEMENT_TYPE_BYREF;
209 }
210 return true;
211 }
static CorElementType GetCorElementType(RuntimeType type)

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

Referenced by System.RuntimeType.HasElementTypeImpl().