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