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

◆ GetTypeCodeImpl()

virtual TypeCode System.Type.GetTypeCodeImpl ( )
inlineprotectedvirtualinherited

Reimplemented in System.Reflection.SignatureType, and System.RuntimeType.

Definition at line 924 of file Type.cs.

925 {
926 Type underlyingSystemType = UnderlyingSystemType;
927 if ((object)this != underlyingSystemType && (object)underlyingSystemType != null)
928 {
929 return GetTypeCode(underlyingSystemType);
930 }
931 return TypeCode.Object;
932 }
Type UnderlyingSystemType
Definition Type.cs:61
static TypeCode GetTypeCode(Type? type)
Definition Type.cs:919

References System.Type.GetTypeCode(), and System.Type.UnderlyingSystemType.

Referenced by System.Type.IsEnumDefined().