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

◆ IsIntegerType()

static bool System.Type.IsIntegerType ( Type t)
inlinestaticpackageinherited

Definition at line 1280 of file Type.cs.

1281 {
1282 if (!(t == typeof(int)) && !(t == typeof(short)) && !(t == typeof(ushort)) && !(t == typeof(byte)) && !(t == typeof(sbyte)) && !(t == typeof(uint)) && !(t == typeof(long)) && !(t == typeof(ulong)) && !(t == typeof(char)))
1283 {
1284 return t == typeof(bool);
1285 }
1286 return true;
1287 }

Referenced by System.RuntimeType.GetEnumName(), System.Type.GetEnumName(), System.RuntimeType.IsEnumDefined(), and System.Type.IsEnumDefined().