Struct AtomicIntPtr
public struct AtomicIntPtr
- Inherited Members
- Extension Methods
Methods
Equals(object?)
Calls to this method are not supported
[DoesNotReturn]
public override readonly bool Equals(object? obj)
Parameters
objobjectNot supported
Returns
- bool
Calls to this method are not supported
Remarks
Calls to this method are not supported. Check the values returned by Get(ref readonly AtomicIntPtr) for equality instead.
Exceptions
- NotSupportedException
always
Get(ref readonly AtomicIntPtr)
public static nint Get(ref readonly AtomicIntPtr atomic)
Parameters
atomicAtomicIntPtr
Returns
GetHashCode()
Calls to this method are not supported
[DoesNotReturn]
public override readonly int GetHashCode()
Returns
- int
Calls to this method are not supported
Remarks
Calls to this method are not supported. Calculate a hash code from the value returned by Get(ref readonly AtomicIntPtr) instead.
Exceptions
- NotSupportedException
always
Set(ref AtomicIntPtr, nint)
public static nint Set(ref AtomicIntPtr atomic, nint value)
Parameters
atomicAtomicIntPtrvaluenint
Returns
ToString()
Calls to this method are not supported
[DoesNotReturn]
public override readonly string ToString()
Returns
- string
Calls to this method are not supported
Remarks
Calls to this method are not supported. Get a string reprensentation for the value returned by Get(ref readonly AtomicIntPtr) instead.
Exceptions
- NotSupportedException
always
TryCompareAndSwap(ref AtomicIntPtr, nint, nint)
public static bool TryCompareAndSwap(ref AtomicIntPtr atomic, nint oldValue, nint newValue)
Parameters
atomicAtomicIntPtroldValuenintnewValuenint