<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.0-preview1-26216-02" />
API Differences between 4.5.0-preview1-26216-02 and 4.0.0
22 Additions
0 Removals
System.Runtime.CompilerServices
-
public static class Unsafe
- public static ref T Add<T>(ref T source, int elementOffset)
- public static Void* Add<T>(Void* source, int elementOffset)
- public static ref T Add<T>(ref T source, IntPtr elementOffset)
- public static ref T AddByteOffset<T>(ref T source, IntPtr byteOffset)
- public static bool AreSame<T>(ref T left, ref T right)
- public static ref TTo As<TFrom, TTo>(ref TFrom source)
- public static ref T AsRef<T>(ref T source)
- public static IntPtr ByteOffset<T>(ref T origin, ref T target)
- public static void CopyBlock(ref byte destination, ref byte source, uint byteCount)
- public static void CopyBlockUnaligned(Void* destination, Void* source, uint byteCount)
- public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount)
- public static void InitBlock(ref byte startAddress, byte value, uint byteCount)
- public static void InitBlockUnaligned(Void* startAddress, byte value, uint byteCount)
- public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount)
- public static T ReadUnaligned<T>(Void* source)
- public static T ReadUnaligned<T>(ref byte source)
- public static ref T Subtract<T>(ref T source, int elementOffset)
- public static Void* Subtract<T>(Void* source, int elementOffset)
- public static ref T Subtract<T>(ref T source, IntPtr elementOffset)
- public static ref T SubtractByteOffset<T>(ref T source, IntPtr byteOffset)
- public static void WriteUnaligned<T>(Void* destination, T value)
- public static void WriteUnaligned<T>(ref byte destination, T value)