예제 #1
0
        public static IntPtr BoxR8(RuntimeTypeHandle handle, double value)
        {
            var memory = AllocateObject(handle, IntPtr.Size * 2);

            Intrinsic.Store(memory, 0, handle.Value);
            Intrinsic.StoreR8(memory, IntPtr.Size * 2, value);

            return(memory);
        }
예제 #2
0
 public void StoreR8(int offset, double value)
 {
     Intrinsic.StoreR8(this, offset, value);
 }
예제 #3
0
 public void StoreR8(double value)
 {
     Intrinsic.StoreR8(this, value);
 }