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

◆ GetEnumUnderlyingType()

override Type System.RuntimeType.GetEnumUnderlyingType ( )
inlinevirtual

Reimplemented from System.Type.

Definition at line 3485 of file RuntimeType.cs.

3486 {
3487 if (!IsEnum)
3488 {
3489 throw new ArgumentException(SR.Arg_MustBeEnum, "enumType");
3490 }
3491 return Enum.InternalGetUnderlyingType(this);
3492 }
virtual bool IsEnum
Definition Type.cs:227

References System.SR.Arg_MustBeEnum, and System.Enum.InternalGetUnderlyingType().