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
SingleCallIdentity.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Remoting.Contexts
;
3
using
System.Runtime.Remoting.Messaging
;
4
5
namespace
System.Runtime.Remoting
6
{
7
// Token: 0x0200034E RID: 846
8
internal
class
SingleCallIdentity
:
ServerIdentity
9
{
10
// Token: 0x06001C5F RID: 7263 RVA: 0x0003DB90 File Offset: 0x0003BD90
11
public
SingleCallIdentity
(
string
objectUri
,
Context
context,
Type
objectType)
12
:
base
(
objectUri
, context, objectType)
13
{
14
}
15
16
// Token: 0x06001C60 RID: 7264 RVA: 0x0003DBA8 File Offset: 0x0003BDA8
17
public
override
IMessage
SyncObjectProcessMessage
(
IMessage
msg)
18
{
19
Type
objectType = this.
_objectType
;
20
int
num = 1;
21
object
obj
=
Activator
.
CreateInstance
(objectType, num != 0);
22
if
(
obj
!=
null
)
23
{
24
}
25
ServerIdentity
serverIdentity
;
26
if
(
serverIdentity
==
null
)
27
{
28
}
29
Context
context = this.
_context
;
30
if
(obj !=
null
)
31
{
32
if
(
obj
==
null
)
33
{
34
throw
new
InvalidCastException
();
35
}
36
if
(
obj
==
null
)
37
{
38
throw
new
InvalidCastException
();
39
}
40
}
41
throw
new
InvalidCastException
();
42
}
43
44
// Token: 0x06001C61 RID: 7265 RVA: 0x0003DBF0 File Offset: 0x0003BDF0
45
public
override
IMessageCtrl
AsyncObjectProcessMessage
(
IMessage
msg,
IMessageSink
replySink
)
46
{
47
Type
objectType = this.
_objectType
;
48
int
num = 1;
49
object
obj
=
Activator
.
CreateInstance
(objectType, num != 0);
50
if
(
obj
!=
null
)
51
{
52
}
53
Context
context = this.
_context
;
54
if
(obj !=
null
&&
obj
!=
null
&&
obj
==
null
)
55
{
56
throw
new
InvalidCastException
();
57
}
58
throw
new
InvalidCastException
();
59
}
60
}
61
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Activator.CreateInstance
static object CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture)
Definition
Activator.cs:15
System.Activator
Definition
Activator.cs:13
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Runtime.Remoting.Contexts.Context
Definition
Context.cs:15
System.Runtime.Remoting.ServerIdentity._objectType
Type _objectType
Definition
ServerIdentity.cs:136
System.Runtime.Remoting.ServerIdentity._context
Context _context
Definition
ServerIdentity.cs:145
System.Runtime.Remoting.ServerIdentity
Definition
ServerIdentity.cs:11
System.Runtime.Remoting.SingleCallIdentity.SingleCallIdentity
SingleCallIdentity(string objectUri, Context context, Type objectType)
Definition
SingleCallIdentity.cs:11
System.Runtime.Remoting.SingleCallIdentity.SyncObjectProcessMessage
override IMessage SyncObjectProcessMessage(IMessage msg)
Definition
SingleCallIdentity.cs:17
System.Runtime.Remoting.SingleCallIdentity.AsyncObjectProcessMessage
override IMessageCtrl AsyncObjectProcessMessage(IMessage msg, IMessageSink replySink)
Definition
SingleCallIdentity.cs:45
System.Runtime.Remoting.SingleCallIdentity
Definition
SingleCallIdentity.cs:9
System.Type
Definition
Type.cs:12
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.Remoting.Contexts
Definition
Context.cs:10
System.Runtime.Remoting.Messaging
Definition
ArgInfo.cs:5
System.Runtime.Remoting
Definition
ActivatedClientTypeEntry.cs:7
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
Remoting
SingleCallIdentity.cs
Generated by
1.10.0