@@ -586,7 +586,7 @@ public void SetCompressedStack(CompressedStack stack)
586586 public static long VolatileRead ( ref long address ) => Volatile . Read ( ref address ) ;
587587 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
588588 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
589- public static IntPtr VolatileRead ( ref IntPtr address ) => Volatile . Read ( ref address ) ;
589+ public static nint VolatileRead ( ref nint address ) => Volatile . Read ( ref address ) ;
590590 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
591591 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
592592 [ return : NotNullIfNotNull ( nameof ( address ) ) ]
@@ -613,7 +613,7 @@ public void SetCompressedStack(CompressedStack stack)
613613 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
614614 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
615615 [ CLSCompliant ( false ) ]
616- public static UIntPtr VolatileRead ( ref UIntPtr address ) => Volatile . Read ( ref address ) ;
616+ public static nuint VolatileRead ( ref nuint address ) => Volatile . Read ( ref address ) ;
617617 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
618618 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
619619 public static void VolatileWrite ( ref byte address , byte value ) => Volatile . Write ( ref address , value ) ;
@@ -631,7 +631,7 @@ public void SetCompressedStack(CompressedStack stack)
631631 public static void VolatileWrite ( ref long address , long value ) => Volatile . Write ( ref address , value ) ;
632632 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
633633 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
634- public static void VolatileWrite ( ref IntPtr address , IntPtr value ) => Volatile . Write ( ref address , value ) ;
634+ public static void VolatileWrite ( ref nint address , nint value ) => Volatile . Write ( ref address , value ) ;
635635 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
636636 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
637637 public static void VolatileWrite ( [ NotNullIfNotNull ( nameof ( value ) ) ] ref object ? address , object ? value ) => Volatile . Write ( ref address , value ) ;
@@ -657,7 +657,7 @@ public void SetCompressedStack(CompressedStack stack)
657657 [ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
658658 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
659659 [ CLSCompliant ( false ) ]
660- public static void VolatileWrite ( ref UIntPtr address , UIntPtr value ) => Volatile . Write ( ref address , value ) ;
660+ public static void VolatileWrite ( ref nuint address , nuint value ) => Volatile . Write ( ref address , value ) ;
661661
662662 /// <summary>
663663 /// Manages functionality required to support members of <see cref="Thread"/> dealing with thread-local data
0 commit comments