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+ [ assembly: System . Reflection . AssemblyProduct ( "Microsoft® .NET Framework" ) ]
8+ [ assembly: System . CLSCompliant ( false ) ]
9+ [ assembly: System . Reflection . AssemblyMetadata ( ".NETFrameworkAssembly" , "" ) ]
10+ [ assembly: System . Diagnostics . Debuggable ( System . Diagnostics . DebuggableAttribute . DebuggingModes . Default | System . Diagnostics . DebuggableAttribute . DebuggingModes . IgnoreSymbolStoreSequencePoints ) ]
11+ [ assembly: System . Runtime . CompilerServices . CompilationRelaxations ( 8 ) ]
12+ [ assembly: System . Reflection . AssemblyDescription ( "System.Runtime.CompilerServices.Unsafe" ) ]
13+ [ assembly: System . Reflection . AssemblyFileVersion ( "6.100.225.20307" ) ]
14+ [ assembly: System . Reflection . AssemblyInformationalVersion ( "6.1.2" ) ]
15+ [ assembly: System . Reflection . AssemblyTitle ( "System.Runtime.CompilerServices.Unsafe" ) ]
16+ [ assembly: System . Reflection . AssemblyMetadata ( "Serviceable" , "True" ) ]
17+ [ assembly: System . Runtime . CompilerServices . RuntimeCompatibility ( WrapNonExceptionThrows = true ) ]
18+ [ assembly: System . Reflection . AssemblyMetadata ( "IsTrimmable" , "True" ) ]
19+ [ assembly: System . Reflection . AssemblyCopyright ( "© Microsoft Corporation. All rights reserved." ) ]
20+ [ assembly: System . Reflection . AssemblyCompany ( "Microsoft Corporation" ) ]
21+ [ assembly: System . Reflection . AssemblyVersionAttribute ( "6.0.0.0" ) ]
22+ [ assembly: System . Runtime . CompilerServices . ReferenceAssembly ]
23+ [ assembly: System . Reflection . AssemblyFlagsAttribute ( ( System . Reflection . AssemblyNameFlags ) 0x70 ) ]
24+ namespace System . Runtime . CompilerServices
25+ {
26+ public static partial class Unsafe
27+ {
28+ public static ref T Add < T > ( ref T source , int elementOffset ) { throw null ; }
29+
30+ public static ref T Add < T > ( ref T source , IntPtr elementOffset ) { throw null ; }
31+
32+ public static ref T Add < T > ( ref T source , nuint elementOffset ) { throw null ; }
33+
34+ public static unsafe void * Add < T > ( void * source , int elementOffset ) { throw null ; }
35+
36+ public static ref T AddByteOffset < T > ( ref T source , IntPtr byteOffset ) { throw null ; }
37+
38+ public static ref T AddByteOffset < T > ( ref T source , nuint byteOffset ) { throw null ; }
39+
40+ public static bool AreSame < T > ( ref T left , ref T right ) { throw null ; }
41+
42+ public static T As < T > ( object o )
43+ where T : class { throw null ; }
44+
45+ public static ref TTo As < TFrom , TTo > ( ref TFrom source ) { throw null ; }
46+
47+ public static unsafe void * AsPointer < T > ( ref T value ) { throw null ; }
48+
49+ public static ref T AsRef < T > ( in T source ) { throw null ; }
50+
51+ public static unsafe ref T AsRef < T > ( void * source ) { throw null ; }
52+
53+ public static IntPtr ByteOffset < T > ( ref T origin , ref T target ) { throw null ; }
54+
55+ public static unsafe void Copy < T > ( ref T destination , void * source ) { }
56+
57+ public static unsafe void Copy < T > ( void * destination , ref T source ) { }
58+
59+ public static void CopyBlock ( ref byte destination , ref byte source , uint byteCount ) { }
60+
61+ public static unsafe void CopyBlock ( void * destination , void * source , uint byteCount ) { }
62+
63+ public static void CopyBlockUnaligned ( ref byte destination , ref byte source , uint byteCount ) { }
64+
65+ public static unsafe void CopyBlockUnaligned ( void * destination , void * source , uint byteCount ) { }
66+
67+ public static void InitBlock ( ref byte startAddress , byte value , uint byteCount ) { }
68+
69+ public static unsafe void InitBlock ( void * startAddress , byte value , uint byteCount ) { }
70+
71+ public static void InitBlockUnaligned ( ref byte startAddress , byte value , uint byteCount ) { }
72+
73+ public static unsafe void InitBlockUnaligned ( void * startAddress , byte value , uint byteCount ) { }
74+
75+ public static bool IsAddressGreaterThan < T > ( ref T left , ref T right ) { throw null ; }
76+
77+ public static bool IsAddressLessThan < T > ( ref T left , ref T right ) { throw null ; }
78+
79+ public static bool IsNullRef < T > ( ref T source ) { throw null ; }
80+
81+ public static ref T NullRef < T > ( ) { throw null ; }
82+
83+ public static unsafe T Read < T > ( void * source ) { throw null ; }
84+
85+ public static T ReadUnaligned < T > ( ref byte source ) { throw null ; }
86+
87+ public static unsafe T ReadUnaligned < T > ( void * source ) { throw null ; }
88+
89+ public static int SizeOf < T > ( ) { throw null ; }
90+
91+ public static void SkipInit < T > ( out T value ) { throw null ; }
92+
93+ public static ref T Subtract < T > ( ref T source , int elementOffset ) { throw null ; }
94+
95+ public static ref T Subtract < T > ( ref T source , IntPtr elementOffset ) { throw null ; }
96+
97+ public static ref T Subtract < T > ( ref T source , nuint elementOffset ) { throw null ; }
98+
99+ public static unsafe void * Subtract < T > ( void * source , int elementOffset ) { throw null ; }
100+
101+ public static ref T SubtractByteOffset < T > ( ref T source , IntPtr byteOffset ) { throw null ; }
102+
103+ public static ref T SubtractByteOffset < T > ( ref T source , nuint byteOffset ) { throw null ; }
104+
105+ public static ref T Unbox < T > ( object box )
106+ where T : struct { throw null ; }
107+
108+ public static unsafe void Write < T > ( void * destination , T value ) { }
109+
110+ public static void WriteUnaligned < T > ( ref byte destination , T value ) { }
111+
112+ public static unsafe void WriteUnaligned < T > ( void * destination , T value ) { }
113+ }
114+ }
0 commit comments