Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ParallelLoopState32.cs
Go to the documentation of this file.
1
namespace
System.Threading.Tasks
;
2
3
internal
sealed
class
ParallelLoopState32
:
ParallelLoopState
4
{
5
private
readonly
ParallelLoopStateFlags32
_sharedParallelStateFlags
;
6
7
private
int
_currentIteration
;
8
9
internal
int
CurrentIteration
10
{
11
get
12
{
13
return
_currentIteration
;
14
}
15
set
16
{
17
_currentIteration
=
value
;
18
}
19
}
20
21
internal
override
bool
InternalShouldExitCurrentIteration
=>
_sharedParallelStateFlags
.
ShouldExitLoop
(
CurrentIteration
);
22
23
internal
override
long
?
InternalLowestBreakIteration
=>
_sharedParallelStateFlags
.
NullableLowestBreakIteration
;
24
25
internal
ParallelLoopState32
(
ParallelLoopStateFlags32
sharedParallelStateFlags)
26
: base(sharedParallelStateFlags)
27
{
28
_sharedParallelStateFlags
= sharedParallelStateFlags;
29
}
30
31
internal
override
void
InternalBreak
()
32
{
33
ParallelLoopState
.
Break
(
CurrentIteration
,
_sharedParallelStateFlags
);
34
}
35
}
System.Threading.Tasks.ParallelLoopState32._sharedParallelStateFlags
readonly ParallelLoopStateFlags32 _sharedParallelStateFlags
Definition
ParallelLoopState32.cs:5
System.Threading.Tasks.ParallelLoopState32._currentIteration
int _currentIteration
Definition
ParallelLoopState32.cs:7
System.Threading.Tasks.ParallelLoopState32.InternalBreak
override void InternalBreak()
Definition
ParallelLoopState32.cs:31
System.Threading.Tasks.ParallelLoopState32.InternalShouldExitCurrentIteration
override bool InternalShouldExitCurrentIteration
Definition
ParallelLoopState32.cs:21
System.Threading.Tasks.ParallelLoopState32.ParallelLoopState32
ParallelLoopState32(ParallelLoopStateFlags32 sharedParallelStateFlags)
Definition
ParallelLoopState32.cs:25
System.Threading.Tasks.ParallelLoopState32.InternalLowestBreakIteration
override? long InternalLowestBreakIteration
Definition
ParallelLoopState32.cs:23
System.Threading.Tasks.ParallelLoopState32.CurrentIteration
int CurrentIteration
Definition
ParallelLoopState32.cs:10
System.Threading.Tasks.ParallelLoopState32
Definition
ParallelLoopState32.cs:4
System.Threading.Tasks.ParallelLoopStateFlags32.ShouldExitLoop
bool ShouldExitLoop(int CallerIteration)
Definition
ParallelLoopStateFlags32.cs:26
System.Threading.Tasks.ParallelLoopStateFlags32.NullableLowestBreakIteration
long? NullableLowestBreakIteration
Definition
ParallelLoopStateFlags32.cs:10
System.Threading.Tasks.ParallelLoopStateFlags32
Definition
ParallelLoopStateFlags32.cs:4
System.Threading.Tasks.ParallelLoopState.Break
void Break()
Definition
ParallelLoopState.cs:49
System.Threading.Tasks.ParallelLoopState
Definition
ParallelLoopState.cs:7
System.Threading.Tasks
Definition
TaskToApm.cs:3
System.ExceptionArgument.value
@ value
source
System.Threading.Tasks.Parallel
System.Threading.Tasks
ParallelLoopState32.cs
Generated by
1.10.0