diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-06-12 19:58:22 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-06-12 19:58:22 +0300 |
commit | 0aa06fa20eef199e610d12bdfcb1100328ee7de1 (patch) | |
tree | 6b1b4efa6add7bc8baca141af6f1fb0ad03cd933 | |
parent | 4beba23f7b6556ca754c39826f5f33e65f3d5678 (diff) |
Apply changes from https://github.com/mono/mono/pull/15013 to API snapshot
3 files changed, 3 insertions, 0 deletions
diff --git a/profiles/monodroid/System.Runtime.CompilerServices.Unsafe.cs b/profiles/monodroid/System.Runtime.CompilerServices.Unsafe.cs index d954239..bd40369 100644 --- a/profiles/monodroid/System.Runtime.CompilerServices.Unsafe.cs +++ b/profiles/monodroid/System.Runtime.CompilerServices.Unsafe.cs @@ -40,6 +40,7 @@ namespace System.Runtime.CompilerServices [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void* Subtract<T>(void* source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, System.IntPtr elementOffset) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Unbox<T>(object box) where T : struct { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void WriteUnaligned<T>(ref byte destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void WriteUnaligned<T>(void* destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void Write<T>(void* destination, T value) { } diff --git a/profiles/monotouch/System.Runtime.CompilerServices.Unsafe.cs b/profiles/monotouch/System.Runtime.CompilerServices.Unsafe.cs index d954239..bd40369 100644 --- a/profiles/monotouch/System.Runtime.CompilerServices.Unsafe.cs +++ b/profiles/monotouch/System.Runtime.CompilerServices.Unsafe.cs @@ -40,6 +40,7 @@ namespace System.Runtime.CompilerServices [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void* Subtract<T>(void* source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, System.IntPtr elementOffset) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Unbox<T>(object box) where T : struct { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void WriteUnaligned<T>(ref byte destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void WriteUnaligned<T>(void* destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void Write<T>(void* destination, T value) { } diff --git a/profiles/net_4_x/System.Runtime.CompilerServices.Unsafe.cs b/profiles/net_4_x/System.Runtime.CompilerServices.Unsafe.cs index d954239..bd40369 100644 --- a/profiles/net_4_x/System.Runtime.CompilerServices.Unsafe.cs +++ b/profiles/net_4_x/System.Runtime.CompilerServices.Unsafe.cs @@ -40,6 +40,7 @@ namespace System.Runtime.CompilerServices [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void* Subtract<T>(void* source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Subtract<T>(ref T source, System.IntPtr elementOffset) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static ref T Unbox<T>(object box) where T : struct { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public static void WriteUnaligned<T>(ref byte destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void WriteUnaligned<T>(void* destination, T value) { } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public unsafe static void Write<T>(void* destination, T value) { } |