Beispiel #1
0
 private static T ToEnum <T>(int value)
     where T : unmanaged, Enum
 {
     Intrinsics.Bitcast(value, out T result);
     return(result);
 }