terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ IsEnumDefined()

virtual bool System.Type.IsEnumDefined ( object value)
inlinevirtualinherited

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

Definition at line 14 of file Type.cs.

15 {
16 if (value != null)
17 {
18 bool flag = Type.IsIntegerType(value.GetType());
19 }
20 return "Enum underlying type and the object must be same type or object must be a String. Type passed in was '{0}'; the enum underlying type was '{1}'." != null;
21 }
static bool IsIntegerType(Type t)
Definition Type.cs:75

References System.Type.IsIntegerType(), and System.value.