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
AsyncTaskMethodBuilder.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics
;
3
using
System.Threading.Tasks
;
4
using
Cpp2IlInjected
;
5
6
namespace
System.Runtime.CompilerServices
7
{
8
// Token: 0x0200048F RID: 1167
9
public
struct
AsyncTaskMethodBuilder
10
{
11
// Token: 0x0600225F RID: 8799 RVA: 0x0000207A File Offset: 0x0000027A
12
public
static
AsyncTaskMethodBuilder
Create
()
13
{
14
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
15
}
16
17
// Token: 0x06002260 RID: 8800 RVA: 0x0004D588 File Offset: 0x0004B788
18
[
DebuggerStepThrough
]
19
public
void
Start<TStateMachine>
(
TStateMachine
stateMachine
)
where
TStateMachine
:
IAsyncStateMachine
20
{
21
RuntimeHelpers
.
PrepareConstrainedRegions
();
22
}
23
24
// Token: 0x06002261 RID: 8801 RVA: 0x0004D5B0 File Offset: 0x0004B7B0
25
public
void
SetStateMachine
(
IAsyncStateMachine
stateMachine
)
26
{
27
}
28
29
// Token: 0x06002262 RID: 8802 RVA: 0x0004D5C0 File Offset: 0x0004B7C0
30
public
void
AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>
(
TAwaiter
awaiter
,
TStateMachine
stateMachine
)
where
TAwaiter
:
ICriticalNotifyCompletion
where
TStateMachine
:
IAsyncStateMachine
31
{
32
}
33
34
// Token: 0x17000478 RID: 1144
35
// (get) Token: 0x06002263 RID: 8803 RVA: 0x0000207A File Offset: 0x0000027A
36
public
Task
Task
37
{
38
get
39
{
40
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
41
}
42
}
43
44
// Token: 0x06002264 RID: 8804 RVA: 0x0004D5D0 File Offset: 0x0004B7D0
45
public
void
SetResult
()
46
{
47
if
(!
true
)
48
{
49
}
50
}
51
52
// Token: 0x06002265 RID: 8805 RVA: 0x0004D5E0 File Offset: 0x0004B7E0
53
public
void
SetException
(
Exception
exception
)
54
{
55
}
56
57
// Token: 0x06002266 RID: 8806 RVA: 0x0004D5F0 File Offset: 0x0004B7F0
58
// Note: this type is marked as 'beforefieldinit'.
59
static
AsyncTaskMethodBuilder
()
60
{
61
if
(!
true
)
62
{
63
}
64
}
65
66
// Token: 0x040012CA RID: 4810
67
private
static
readonly
Task<VoidTaskResult>
s_cachedCompleted
;
68
69
// Token: 0x040012CB RID: 4811
70
private
AsyncTaskMethodBuilder<VoidTaskResult>
m_builder
;
71
}
72
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Exception
Definition
Exception.cs:15
System.Runtime.CompilerServices.RuntimeHelpers.PrepareConstrainedRegions
static void PrepareConstrainedRegions()
Definition
RuntimeHelpers.cs:64
System.Runtime.CompilerServices.RuntimeHelpers
Definition
RuntimeHelpers.cs:9
System.Threading.Tasks.Task
Definition
Task.cs:12
System.Runtime.CompilerServices.IAsyncStateMachine
Definition
IAsyncStateMachine.cs:7
System.Runtime.CompilerServices.ICriticalNotifyCompletion
Definition
ICriticalNotifyCompletion.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Threading.Tasks
Definition
AsyncCausalityStatus.cs:5
System.ExceptionArgument.exception
@ exception
System
Definition
__ComObject.cs:4
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncTaskMethodBuilder
static AsyncTaskMethodBuilder()
Definition
AsyncTaskMethodBuilder.cs:59
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException
void SetException(Exception exception)
Definition
AsyncTaskMethodBuilder.cs:53
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetStateMachine
void SetStateMachine(IAsyncStateMachine stateMachine)
Definition
AsyncTaskMethodBuilder.cs:25
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.m_builder
AsyncTaskMethodBuilder< VoidTaskResult > m_builder
Definition
AsyncTaskMethodBuilder.cs:70
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.s_cachedCompleted
static readonly Task< VoidTaskResult > s_cachedCompleted
Definition
AsyncTaskMethodBuilder.cs:67
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult
void SetResult()
Definition
AsyncTaskMethodBuilder.cs:45
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >
void AwaitUnsafeOnCompleted< TAwaiter, TStateMachine >(TAwaiter awaiter, TStateMachine stateMachine)
Definition
AsyncTaskMethodBuilder.2.cs:33
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start< TStateMachine >
void Start< TStateMachine >(TStateMachine stateMachine)
Definition
AsyncTaskMethodBuilder.2.cs:19
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create
static AsyncTaskMethodBuilder Create()
Definition
AsyncTaskMethodBuilder.cs:12
System.Runtime.CompilerServices.AsyncTaskMethodBuilder
Definition
AsyncTaskMethodBuilder.2.cs:10
source
mscorlib
System
Runtime
CompilerServices
AsyncTaskMethodBuilder.cs
Generated by
1.10.0