@@ -586,7 +586,7 @@ public void SetCompressedStack(CompressedStack stack)
586
586
public static long VolatileRead ( ref long address ) => Volatile . Read ( ref address ) ;
587
587
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
588
588
[ 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 ) ;
590
590
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
591
591
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
592
592
[ return : NotNullIfNotNull ( nameof ( address ) ) ]
@@ -613,7 +613,7 @@ public void SetCompressedStack(CompressedStack stack)
613
613
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
614
614
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
615
615
[ 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 ) ;
617
617
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
618
618
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
619
619
public static void VolatileWrite ( ref byte address , byte value ) => Volatile . Write ( ref address , value ) ;
@@ -631,7 +631,7 @@ public void SetCompressedStack(CompressedStack stack)
631
631
public static void VolatileWrite ( ref long address , long value ) => Volatile . Write ( ref address , value ) ;
632
632
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
633
633
[ 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 ) ;
635
635
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
636
636
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
637
637
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)
657
657
[ Obsolete ( Obsoletions . ThreadVolatileReadWriteMessage , DiagnosticId = Obsoletions . ThreadVolatileReadWriteDiagId , UrlFormat = Obsoletions . SharedUrlFormat ) ]
658
658
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
659
659
[ 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 ) ;
661
661
662
662
/// <summary>
663
663
/// Manages functionality required to support members of <see cref="Thread"/> dealing with thread-local data
0 commit comments