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

◆ Exchange< T >()

static T System.Threading.Interlocked.Exchange< T > ( [NotNullIfNotNull("value")] ref T location1,
T value )
inlinestatic
Type Constraints
T :class 

Definition at line 49 of file Interlocked.cs.

49 : class?
50 {
51 return Unsafe.As<T>(Exchange(ref Unsafe.As<T, object>(ref location1), value));
52 }
static int Exchange(ref int location1, int value)

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