System.Threading by Microsoft

<PackageReference Include="System.Threading" Version="4.0.10-beta-22605" />

 Volatile

public static class Volatile
public static bool Read(ref bool location)

public static byte Read(ref byte location)

public static double Read(ref double location)

public static short Read(ref short location)

public static int Read(ref int location)

public static long Read(ref long location)

public static IntPtr Read(ref IntPtr location)

public static sbyte Read(ref sbyte location)

public static float Read(ref float location)

public static ushort Read(ref ushort location)

public static uint Read(ref uint location)

public static ulong Read(ref ulong location)

public static UIntPtr Read(ref UIntPtr location)

public static T Read<T>(ref T location)

public static void Write(ref bool location, bool value)

public static void Write(ref byte location, byte value)

public static void Write(ref double location, double value)

public static void Write(ref short location, short value)

public static void Write(ref int location, int value)

public static void Write(ref long location, long value)

public static void Write(ref IntPtr location, IntPtr value)

public static void Write(ref sbyte location, sbyte value)

public static void Write(ref float location, float value)

public static void Write(ref ushort location, ushort value)

public static void Write(ref uint location, uint value)

public static void Write(ref ulong location, ulong value)

public static void Write(ref UIntPtr location, UIntPtr value)

public static void Write<T>(ref T location, T value)