terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ContinuationTaskFromTask.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
System.Threading.Tasks
4
{
5
// Token: 0x02000241 RID: 577
6
internal
sealed
class
ContinuationTaskFromTask
:
Task
7
{
8
// Token: 0x060013FF RID: 5119 RVA: 0x00029FBC File Offset: 0x000281BC
9
public
ContinuationTaskFromTask
(
Task
antecedent
,
Delegate
action
,
object
state
,
TaskCreationOptions
creationOptions
,
InternalTaskOptions
internalOptions
)
10
{
11
if
(!
true
)
12
{
13
}
14
Task
task
=
Task
.
InternalCurrentIfAttached
(
creationOptions
);
15
this.m_antecedent
=
antecedent
;
16
}
17
18
// Token: 0x06001400 RID: 5120 RVA: 0x00029FDC File Offset: 0x000281DC
19
internal
override
void
InnerInvoke
()
20
{
21
bool
flag = this.
m_antecedent
.
NotifyDebuggerOfWaitCompletionIfNecessary
();
22
Delegate
action
= this.
m_action
;
23
if
(action !=
null
)
24
{
25
IntPtr
method_code =
action
.method_code;
26
IntPtr
invoke_impl =
action
.invoke_impl;
27
IntPtr
method =
action
.method;
28
return
;
29
}
30
Delegate
action2
= this.
m_action
;
31
if
(action2 !=
null
)
32
{
33
IntPtr
method_code2
=
action2
.method_code;
34
object
stateObject
= this.
m_stateObject
;
35
IntPtr
invoke_impl2
=
action2
.invoke_impl;
36
IntPtr
method2
=
action2
.method;
37
return
;
38
}
39
}
40
41
// Token: 0x04000AA4 RID: 2724
42
private
Task
m_antecedent
;
43
}
44
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Delegate
Definition
Delegate.cs:14
System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke
override void InnerInvoke()
Definition
ContinuationTaskFromTask.cs:19
System.Threading.Tasks.ContinuationTaskFromTask.m_antecedent
Task m_antecedent
Definition
ContinuationTaskFromTask.cs:42
System.Threading.Tasks.ContinuationTaskFromTask.ContinuationTaskFromTask
ContinuationTaskFromTask(Task antecedent, Delegate action, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions)
Definition
ContinuationTaskFromTask.cs:9
System.Threading.Tasks.ContinuationTaskFromTask
Definition
ContinuationTaskFromTask.cs:7
System.Threading.Tasks.Task.m_action
Delegate m_action
Definition
Task.2.cs:1859
System.Threading.Tasks.Task.InternalCurrentIfAttached
static Task InternalCurrentIfAttached(TaskCreationOptions creationOptions)
Definition
Task.2.cs:382
System.Threading.Tasks.Task.NotifyDebuggerOfWaitCompletionIfNecessary
bool NotifyDebuggerOfWaitCompletionIfNecessary()
Definition
Task.2.cs:186
System.Threading.Tasks.Task.m_stateObject
object m_stateObject
Definition
Task.2.cs:1862
System.Threading.Tasks.Task
Definition
Task.cs:12
System.Threading.Tasks.TaskCreationOptions
TaskCreationOptions
Definition
TaskCreationOptions.cs:8
System.Threading.Tasks.InternalTaskOptions
InternalTaskOptions
Definition
InternalTaskOptions.cs:8
System.Threading.Tasks
Definition
AsyncCausalityStatus.cs:5
System.ExceptionArgument.action
@ action
System.ExceptionArgument.task
@ task
System.ExceptionArgument.state
@ state
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
mscorlib
System
Threading
Tasks
ContinuationTaskFromTask.cs
Generated by
1.10.0