Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Task
[1/2]
ValueTask
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder
<
TResult
>.
Task
get
Definition at line
19
of file
PoolingAsyncValueTaskMethodBuilder.cs
.
20
{
21
get
22
{
23
if
(
m_task
==
s_syncSuccessSentinel
)
24
{
25
return
default
(
ValueTask
);
26
}
27
PoolingAsyncValueTaskMethodBuilder<VoidTaskResult>.StateMachineBox stateMachineBox =
m_task
?? (
m_task
= PoolingAsyncValueTaskMethodBuilder<VoidTaskResult>.
CreateWeaklyTypedStateMachineBox
());
28
return
new
ValueTask
(stateMachineBox, stateMachineBox.Version);
29
}
30
}
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder.s_syncSuccessSentinel
static readonly PoolingAsyncValueTaskMethodBuilder< VoidTaskResult >.StateMachineBox s_syncSuccessSentinel
Definition
PoolingAsyncValueTaskMethodBuilder.cs:15
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder.m_task
PoolingAsyncValueTaskMethodBuilder< VoidTaskResult >.StateMachineBox m_task
Definition
PoolingAsyncValueTaskMethodBuilder.cs:17
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder.CreateWeaklyTypedStateMachineBox
static StateMachineBox CreateWeaklyTypedStateMachineBox()
Definition
PoolingAsyncValueTaskMethodBuilder.cs:367
System.Threading.Tasks.ValueTask
Definition
ValueTask.cs:321
System
Runtime
CompilerServices
PoolingAsyncValueTaskMethodBuilder
Generated by
1.10.0