namespace System.Runtime.CompilerServices { [FriendAccessAllowed] internal static class JitHelpers { static internal T UnsafeCast(Object o) where T : class { return Array.UnsafeMov (o); } static internal int UnsafeEnumCast(T val) where T : struct { return Array.UnsafeMov (val); } static internal long UnsafeEnumCastLong(T val) where T : struct { throw new NotImplementedException (); } } }