public virtual Type GetEnumUnderlyingType() { if (!this.IsEnum) { throw new ArgumentException(); } CheckBaked(); return GetEnumUnderlyingTypeImpl(); }
public static Type GetEnumEnderlyingType(Type type) { #if FEAT_IKVM return(type.GetEnumUnderlyingType()); #else return(Enum.GetUnderlyingType(type)); #endif }