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
StackBuilderSink.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
System.Runtime.Remoting.Proxies
;
4
5
namespace
System.Runtime.Remoting.Messaging
6
{
7
// Token: 0x020003C1 RID: 961
8
internal
class
StackBuilderSink
:
IMessageSink
9
{
10
// Token: 0x06001EB5 RID: 7861 RVA: 0x00043300 File Offset: 0x00041500
11
public
StackBuilderSink
(
MarshalByRefObject
obj
,
bool
forceInternalExecute
)
12
{
13
this._target
=
obj
;
14
if
(!
true
)
15
{
16
}
17
bool
flag =
RemotingServices
.
IsTransparentProxy
(
obj
);
18
if
(!
true
)
19
{
20
}
21
RealProxy
realProxy
=
RemotingServices
.
GetRealProxy
(
obj
);
22
this._rp
=
realProxy
;
23
}
24
25
// Token: 0x06001EB6 RID: 7862 RVA: 0x00043338 File Offset: 0x00041538
26
public
IMessage
SyncProcessMessage
(
IMessage
msg)
27
{
28
do
29
{
30
if
(this.
_rp
!=
null
)
31
{
32
}
33
MarshalByRefObject
target = this.
_target
;
34
}
35
while
(msg ==
null
|| msg !=
null
);
36
throw
new
InvalidCastException
();
37
}
38
39
// Token: 0x06001EB7 RID: 7863 RVA: 0x00043364 File Offset: 0x00041564
40
public
IMessageCtrl
AsyncProcessMessage
(
IMessage
msg,
IMessageSink
replySink
)
41
{
42
if
((msg ==
null
|| msg !=
null
) && (
replySink
==
null
||
replySink
!=
null
))
43
{
44
}
45
throw
new
ArrayTypeMismatchException
();
46
}
47
48
// Token: 0x06001EB8 RID: 7864 RVA: 0x00043384 File Offset: 0x00041584
49
private
void
ExecuteAsyncMessage
(
object
ob
)
50
{
51
long
num;
52
if
(
ob
!=
null
)
53
{
54
if
(
ob
==
null
)
55
{
56
throw
new
InvalidCastException
();
57
}
58
}
59
else
60
{
61
num = 0
L
;
62
}
63
if
(
ob
!=
null
&&
ob
==
null
)
64
{
65
return
;
66
}
67
RealProxy
rp
= this.
_rp
;
68
if
(num != 0
L
)
69
{
70
if
(num == 0
L
)
71
{
72
goto
IL_0036
;
73
}
74
if
(
rp
!=
null
)
75
{
76
RealProxy
rp2
= this.
_rp
;
77
return
;
78
}
79
}
80
else
81
{
82
while
(rp !=
null
)
83
{
84
}
85
}
86
if
(num != 0
L
)
87
{
88
if
(num == 0
L
)
89
{
90
goto
IL_0036
;
91
}
92
}
93
MarshalByRefObject
target = this.
_target
;
94
return
;
95
IL_0036
:
96
throw
new
InvalidCastException
();
97
}
98
99
// Token: 0x06001EB9 RID: 7865 RVA: 0x000433E0 File Offset: 0x000415E0
100
private
void
CheckParameters
(
IMessage
msg)
101
{
102
throw
new
InvalidCastException
();
103
}
104
105
// Token: 0x06001EBA RID: 7866 RVA: 0x00043440 File Offset: 0x00041640
106
[
CompilerGenerated
]
107
private
void <AsyncProcessMessage>
b__4_0
(
object
data)
108
{
109
this.
ExecuteAsyncMessage
(data);
110
}
111
112
// Token: 0x04000F71 RID: 3953
113
private
MarshalByRefObject
_target
;
114
115
// Token: 0x04000F72 RID: 3954
116
private
RealProxy
_rp
;
117
}
118
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.MarshalByRefObject
Definition
MarshalByRefObject.cs:13
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage
IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Definition
StackBuilderSink.cs:40
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage
IMessage SyncProcessMessage(IMessage msg)
Definition
StackBuilderSink.cs:26
System.Runtime.Remoting.Messaging.StackBuilderSink.StackBuilderSink
StackBuilderSink(MarshalByRefObject obj, bool forceInternalExecute)
Definition
StackBuilderSink.cs:11
System.Runtime.Remoting.Messaging.StackBuilderSink._rp
RealProxy _rp
Definition
StackBuilderSink.cs:116
System.Runtime.Remoting.Messaging.StackBuilderSink.ExecuteAsyncMessage
void ExecuteAsyncMessage(object ob)
Definition
StackBuilderSink.cs:49
System.Runtime.Remoting.Messaging.StackBuilderSink.CheckParameters
void CheckParameters(IMessage msg)
Definition
StackBuilderSink.cs:100
System.Runtime.Remoting.Messaging.StackBuilderSink._target
MarshalByRefObject _target
Definition
StackBuilderSink.cs:113
System.Runtime.Remoting.Messaging.StackBuilderSink.b__4_0
void< AsyncProcessMessage > b__4_0(object data)
Definition
StackBuilderSink.cs:107
System.Runtime.Remoting.Messaging.StackBuilderSink
Definition
StackBuilderSink.cs:9
System.Runtime.Remoting.Proxies.RealProxy
Definition
RealProxy.cs:14
System.Runtime.Remoting.RemotingServices.IsTransparentProxy
static bool IsTransparentProxy(object proxy)
Definition
RemotingServices.cs:46
System.Runtime.Remoting.RemotingServices.GetRealProxy
static RealProxy GetRealProxy(object proxy)
Definition
RemotingServices.cs:148
System.Runtime.Remoting.RemotingServices
Definition
RemotingServices.cs:20
System.Runtime.Remoting.Messaging.IMessageCtrl
Definition
IMessageCtrl.cs:9
System.Runtime.Remoting.Messaging.IMessageSink
Definition
IMessageSink.cs:9
System.Runtime.Remoting.Messaging.IMessage
Definition
IMessage.cs:10
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Runtime.Remoting.Messaging
Definition
ArgInfo.cs:5
System.Runtime.Remoting.Proxies
Definition
ProxyAttribute.cs:7
System.ExceptionArgument.obj
@ obj
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
Remoting
Messaging
StackBuilderSink.cs
Generated by
1.10.0