Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
this[int bit]
bool
System.ComponentModel.InterlockedBitVector32.this[int bit]
get
set
Definition at line
10
of file
InterlockedBitVector32.cs
.
11
{
12
get
13
{
14
return
(
Volatile
.
Read
(ref
_data
) & bit) == bit;
15
}
16
set
17
{
18
if
(
value
)
19
{
20
Interlocked
.
Or
(ref
_data
, bit);
21
}
22
else
23
{
24
Interlocked
.
And
(ref
_data
, ~bit);
25
}
26
}
27
}
System.Threading.Interlocked.And
static int And(ref int location1, int value)
Definition
Interlocked.cs:207
System.Threading.Interlocked.Or
static int Or(ref int location1, int value)
Definition
Interlocked.cs:259
System.Threading.Interlocked
Definition
Interlocked.cs:9
System.Threading.Volatile.Read
static bool Read(ref bool location)
Definition
Volatile.cs:67
System.Threading.Volatile
Definition
Volatile.cs:9
System.ExceptionArgument.value
@ value
System.ComponentModel.InterlockedBitVector32._data
int _data
Definition
InterlockedBitVector32.cs:8
System
ComponentModel
InterlockedBitVector32
Generated by
1.10.0