Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompareExchange< T >()

static T System.Threading.Interlocked.CompareExchange< T > ( ref T location1,
T value,
T comparand )
inlinestatic
Type Constraints
T :class 

Definition at line 73 of file Interlocked.cs.

73 : class?
74 {
75 return Unsafe.As<T>(CompareExchange(ref Unsafe.As<T, object>(ref location1), value, comparand));
76 }
static int CompareExchange(ref int location1, int value, int comparand)

References System.Threading.Interlocked.CompareExchange(), and System.value.