Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Task
[2/2]
ValueTask
<
TResult
>
System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder
<
TResult
>.
Task
get
Definition at line
253
of file
PoolingAsyncValueTaskMethodBuilder.cs
.
254
{
255
get
256
{
257
if
(
m_task
==
s_syncSuccessSentinel
)
258
{
259
return
new
ValueTask<TResult>
(
_result
);
260
}
261
StateMachineBox
stateMachineBox =
m_task
?? (
m_task
=
CreateWeaklyTypedStateMachineBox
());
262
return
new
ValueTask<TResult>
(stateMachineBox, stateMachineBox.Version);
263
}
264
}
StateMachineBox
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.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder._result
TResult _result
Definition
PoolingAsyncValueTaskMethodBuilder.cs:251
System.Threading.Tasks.ValueTask
Definition
ValueTask.cs:321
System
Runtime
CompilerServices
PoolingAsyncValueTaskMethodBuilder
Generated by
1.10.0