internal static T EnumInt <T>() { return(AutoCSer.Metadata.EnumCast <T, int> .FromInt(MethodCache.CreateInt())); }
/// <summary> /// 创建随机枚举值 /// </summary> /// <returns></returns> private static valueType enumInt() { return(Emit.EnumCast <valueType, int> .FromInt(MethodCache.CreateInt())); }