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
ActivationServices.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Remoting.Contexts
;
3
using
System.Runtime.Remoting.Messaging
;
4
using
System.Runtime.Remoting.Proxies
;
5
using
System.Threading
;
6
using
Cpp2IlInjected
;
7
8
namespace
System.Runtime.Remoting.Activation
9
{
10
// Token: 0x02000384 RID: 900
11
internal
class
ActivationServices
12
{
13
// Token: 0x17000377 RID: 887
14
// (get) Token: 0x06001D4F RID: 7503 RVA: 0x0000207A File Offset: 0x0000027A
15
private
static
IActivator
ConstructionActivator
16
{
17
get
18
{
19
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
20
}
21
}
22
23
// Token: 0x06001D50 RID: 7504 RVA: 0x00040080 File Offset: 0x0003E280
24
public
static
IMessage
Activate
(
RemotingProxy
proxy,
ConstructionCall
ctorCall
)
25
{
26
int
num = 1;
27
bool
hasExitSinks
=
Thread
.
CurrentContext
.
HasExitSinks
;
28
if
(num != 0)
29
{
30
IMessage
message;
31
if
(message ==
null
)
32
{
33
return
message;
34
}
35
if
(message !=
null
)
36
{
37
if
(message !=
null
)
38
{
39
return
message;
40
}
41
throw
new
InvalidCastException
();
42
}
43
}
44
else
45
{
46
IMessageSink
clientContextSinkChain
=
Thread
.
CurrentContext
.
GetClientContextSinkChain
();
47
}
48
throw
new
InvalidCastException
();
49
}
50
51
// Token: 0x06001D51 RID: 7505 RVA: 0x000400CC File Offset: 0x0003E2CC
52
public
static
IMessage
RemoteActivate
(
IConstructionCallMessage
ctorCall
)
53
{
54
}
55
56
// Token: 0x06001D52 RID: 7506 RVA: 0x000400DC File Offset: 0x0003E2DC
57
public
static
ConstructionCall
CreateConstructionCall
(
Type
type,
string
activationUrl
,
object
[]
activationAttributes
)
58
{
59
IActivator
constructionActivator
=
ActivationServices
.
ConstructionActivator
;
60
if
(
activationUrl
!=
null
)
61
{
62
}
63
Context
currentContext
=
Thread
.
CurrentContext
;
64
long
value
= 0.m_value;
65
if
(
false
)
66
{
67
throw
new
OutOfMemoryException
();
68
}
69
long
value2
= 0.m_value;
70
long
num = 0
L
;
71
int
num2
= 12;
72
if
(num == 0
L
)
73
{
74
if
(
num2
== 0)
75
{
76
}
77
throw
new
InvalidCastException
();
78
}
79
throw
new
OutOfMemoryException
();
80
}
81
82
// Token: 0x06001D53 RID: 7507 RVA: 0x00040158 File Offset: 0x0003E358
83
public
static
IMessage
CreateInstanceFromMessage
(
IConstructionCallMessage
ctorCall
)
84
{
85
Identity
identity;
86
if
(identity !=
null
)
87
{
88
}
89
Context
currentContext
=
Thread
.
CurrentContext
;
90
bool
flag;
91
if
(!
false
|| !flag || !flag)
92
{
93
bool
value
= flag.m_value;
94
bool
value2
= flag.m_value;
95
if
(flag)
96
{
97
}
98
}
99
throw
new
InvalidCastException
();
100
}
101
102
// Token: 0x06001D54 RID: 7508 RVA: 0x00040198 File Offset: 0x0003E398
103
public
static
object
CreateProxyForType
(
Type
type)
104
{
105
if
(!
true
)
106
{
107
}
108
ActivatedClientTypeEntry
activatedClientTypeEntry
;
109
if
(
activatedClientTypeEntry
!=
null
)
110
{
111
if
(!
true
)
112
{
113
}
114
object
obj
;
115
return
obj
;
116
}
117
if
(!
true
)
118
{
119
}
120
WellKnownClientTypeEntry
wellKnownClientTypeEntry
;
121
if
(
wellKnownClientTypeEntry
!=
null
)
122
{
123
if
(!
true
)
124
{
125
}
126
return
RemotingServices
.
CreateClientProxy
(
wellKnownClientTypeEntry
);
127
}
128
if
(!
true
)
129
{
130
}
131
object
obj2
;
132
return
obj2
;
133
}
134
135
// Token: 0x06001D55 RID: 7509 RVA: 0x0000207A File Offset: 0x0000027A
136
public
static
object
AllocateUninitializedClassInstance
(
Type
type)
137
{
138
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
139
}
140
141
// Token: 0x06001D56 RID: 7510 RVA: 0x000401C8 File Offset: 0x0003E3C8
142
public
static
void
EnableProxyActivation
(
Type
type,
bool
enable
)
143
{
144
throw
new
NotSupportedException
();
145
}
146
147
// Token: 0x04000EC9 RID: 3785
148
private
static
IActivator
_constructionActivator
;
149
}
150
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.NotSupportedException
Definition
NotSupportedException.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Runtime.Remoting.ActivatedClientTypeEntry
Definition
ActivatedClientTypeEntry.cs:11
System.Runtime.Remoting.Activation.ActivationServices.RemoteActivate
static IMessage RemoteActivate(IConstructionCallMessage ctorCall)
Definition
ActivationServices.cs:52
System.Runtime.Remoting.Activation.ActivationServices.AllocateUninitializedClassInstance
static object AllocateUninitializedClassInstance(Type type)
Definition
ActivationServices.cs:136
System.Runtime.Remoting.Activation.ActivationServices.CreateConstructionCall
static ConstructionCall CreateConstructionCall(Type type, string activationUrl, object[] activationAttributes)
Definition
ActivationServices.cs:57
System.Runtime.Remoting.Activation.ActivationServices.ConstructionActivator
static IActivator ConstructionActivator
Definition
ActivationServices.cs:16
System.Runtime.Remoting.Activation.ActivationServices._constructionActivator
static IActivator _constructionActivator
Definition
ActivationServices.cs:148
System.Runtime.Remoting.Activation.ActivationServices.EnableProxyActivation
static void EnableProxyActivation(Type type, bool enable)
Definition
ActivationServices.cs:142
System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType
static object CreateProxyForType(Type type)
Definition
ActivationServices.cs:103
System.Runtime.Remoting.Activation.ActivationServices.CreateInstanceFromMessage
static IMessage CreateInstanceFromMessage(IConstructionCallMessage ctorCall)
Definition
ActivationServices.cs:83
System.Runtime.Remoting.Activation.ActivationServices.Activate
static IMessage Activate(RemotingProxy proxy, ConstructionCall ctorCall)
Definition
ActivationServices.cs:24
System.Runtime.Remoting.Activation.ActivationServices
Definition
ActivationServices.cs:12
System.Runtime.Remoting.Contexts.Context.GetClientContextSinkChain
IMessageSink GetClientContextSinkChain()
Definition
Context.cs:328
System.Runtime.Remoting.Contexts.Context.HasExitSinks
bool HasExitSinks
Definition
Context.cs:246
System.Runtime.Remoting.Contexts.Context
Definition
Context.cs:15
System.Runtime.Remoting.Identity
Definition
Identity.cs:9
System.Runtime.Remoting.Messaging.ConstructionCall
Definition
ConstructionCall.cs:15
System.Runtime.Remoting.Proxies.RemotingProxy
Definition
RemotingProxy.cs:11
System.Runtime.Remoting.RemotingServices.CreateClientProxy
static object CreateClientProxy(ActivatedClientTypeEntry entry, object[] activationAttributes)
Definition
RemotingServices.cs:245
System.Runtime.Remoting.RemotingServices
Definition
RemotingServices.cs:20
System.Runtime.Remoting.WellKnownClientTypeEntry
Definition
WellKnownClientTypeEntry.cs:10
System.Threading.Thread.CurrentContext
static Context CurrentContext
Definition
Thread.cs:360
System.Threading.Thread
Definition
Thread.cs:15
System.Type
Definition
Type.cs:12
System.Runtime.Remoting.Activation.IActivator
Definition
IActivator.cs:9
System.Runtime.Remoting.Activation.IConstructionCallMessage
Definition
IConstructionCallMessage.cs:11
System.Runtime.Remoting.Messaging.IMessageSink
Definition
IMessageSink.cs:9
System.Runtime.Remoting.Messaging.IMessage
Definition
IMessage.cs:10
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Runtime.Remoting.Activation
Definition
ActivationServices.cs:9
System.Runtime.Remoting.Contexts
Definition
Context.cs:10
System.Runtime.Remoting.Messaging
Definition
ArgInfo.cs:5
System.Runtime.Remoting.Proxies
Definition
ProxyAttribute.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.obj
@ obj
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
Remoting
Activation
ActivationServices.cs
Generated by
1.10.0