/// <summary> /// 创建随机枚举值 /// </summary> /// <returns></returns> private static valueType enumUInt() { return(Emit.EnumCast <valueType, uint> .FromInt(MethodCache.CreateUInt())); }
internal static T EnumUInt <T>() { return(AutoCSer.Metadata.EnumCast <T, uint> .FromInt(MethodCache.CreateUInt())); }