|
| 1 | +// Licensed to the .NET Foundation under one or more agreements. |
| 2 | +// The .NET Foundation licenses this file to you under the MIT license. |
| 3 | +// See the LICENSE file in the project root for more information. |
| 4 | +// ------------------------------------------------------------------------------ |
| 5 | +// Changes to this file must follow the http://aka.ms/api-review process. |
| 6 | +// ------------------------------------------------------------------------------ |
| 7 | + |
| 8 | +using System; |
| 9 | +using System.Diagnostics; |
| 10 | +using System.Reflection; |
| 11 | +using System.Runtime.CompilerServices; |
| 12 | +using System.Security; |
| 13 | + |
| 14 | +[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] |
| 15 | +[assembly: AllowPartiallyTrustedCallers] |
| 16 | +[assembly: ReferenceAssembly] |
| 17 | +[assembly: AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] |
| 18 | +[assembly: AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] |
| 19 | +[assembly: AssemblyDefaultAlias("System.Runtime.CompilerServices.Unsafe")] |
| 20 | +[assembly: AssemblyCompany("Microsoft Corporation")] |
| 21 | +[assembly: AssemblyProduct("Microsoft® .NET Framework")] |
| 22 | +[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] |
| 23 | +[assembly: AssemblyFileVersion("6.0.21.52210")] |
| 24 | +[assembly: AssemblyInformationalVersion("6.0.21.52210 built by: SOURCEBUILD")] |
| 25 | +[assembly: CLSCompliant(true)] |
| 26 | +[assembly: AssemblyMetadata("", "")] |
| 27 | +[assembly: AssemblyVersion("6.0.0.0")] |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +namespace System.Runtime.CompilerServices |
| 33 | +{ |
| 34 | + public static partial class Unsafe |
| 35 | + { |
| 36 | + public static ref T AddByteOffset<T>(ref T source, System.IntPtr byteOffset) { throw null; } |
| 37 | + public static ref T AddByteOffset<T>(ref T source, System.UIntPtr byteOffset) { throw null; } |
| 38 | + public unsafe static void* Add<T>(void* source, int elementOffset) { throw null; } |
| 39 | + public static ref T Add<T>(ref T source, int elementOffset) { throw null; } |
| 40 | + public static ref T Add<T>(ref T source, System.IntPtr elementOffset) { throw null; } |
| 41 | + public static ref T Add<T>(ref T source, System.UIntPtr elementOffset) { throw null; } |
| 42 | + public static bool AreSame<T>(ref T left, ref T right) { throw null; } |
| 43 | + public unsafe static void* AsPointer<T>(ref T value) { throw null; } |
| 44 | + public unsafe static ref T AsRef<T>(void* source) { throw null; } |
| 45 | + public static ref T AsRef<T>(in T source) { throw null; } |
| 46 | + public static T As<T>(object o) where T : class { throw null; } |
| 47 | + public static ref TTo As<TFrom, TTo>(ref TFrom source) { throw null; } |
| 48 | + public static System.IntPtr ByteOffset<T>(ref T origin, ref T target) { throw null; } |
| 49 | + public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } |
| 50 | + public unsafe static void CopyBlock(void* destination, void* source, uint byteCount) { } |
| 51 | + public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } |
| 52 | + public unsafe static void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } |
| 53 | + public unsafe static void Copy<T>(void* destination, ref T source) { } |
| 54 | + public unsafe static void Copy<T>(ref T destination, void* source) { } |
| 55 | + public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } |
| 56 | + public unsafe static void InitBlock(void* startAddress, byte value, uint byteCount) { } |
| 57 | + public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } |
| 58 | + public unsafe static void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } |
| 59 | + public static bool IsAddressGreaterThan<T>(ref T left, ref T right) { throw null; } |
| 60 | + public static bool IsAddressLessThan<T>(ref T left, ref T right) { throw null; } |
| 61 | + public static bool IsNullRef<T>(ref T source) { throw null; } |
| 62 | + public static ref T NullRef<T>() { throw null; } |
| 63 | + public static T ReadUnaligned<T>(ref byte source) { throw null; } |
| 64 | + public unsafe static T ReadUnaligned<T>(void* source) { throw null; } |
| 65 | + public unsafe static T Read<T>(void* source) { throw null; } |
| 66 | + public static int SizeOf<T>() { throw null; } |
| 67 | + public static void SkipInit<T>(out T value) { throw null; } |
| 68 | + public static ref T SubtractByteOffset<T>(ref T source, System.IntPtr byteOffset) { throw null; } |
| 69 | + public static ref T SubtractByteOffset<T>(ref T source, System.UIntPtr byteOffset) { throw null; } |
| 70 | + public unsafe static void* Subtract<T>(void* source, int elementOffset) { throw null; } |
| 71 | + public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } |
| 72 | + public static ref T Subtract<T>(ref T source, System.IntPtr elementOffset) { throw null; } |
| 73 | + public static ref T Subtract<T>(ref T source, System.UIntPtr elementOffset) { throw null; } |
| 74 | + public static ref T Unbox<T>(object box) where T : struct { throw null; } |
| 75 | + public static void WriteUnaligned<T>(ref byte destination, T value) { } |
| 76 | + public unsafe static void WriteUnaligned<T>(void* destination, T value) { } |
| 77 | + public unsafe static void Write<T>(void* destination, T value) { } |
| 78 | + } |
| 79 | +} |
0 commit comments