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
TypeInfo.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
System.Runtime.Remoting
4
{
5
// Token: 0x02000353 RID: 851
6
[
Serializable
]
7
internal
class
TypeInfo
:
IRemotingTypeInfo
8
{
9
// Token: 0x06001C7B RID: 7291 RVA: 0x0003DEEC File Offset: 0x0003C0EC
10
public
TypeInfo
(
Type
type)
11
{
12
int
num = 1;
13
base
..ctor();
14
bool
isInterface
= type.
IsInterface
;
15
if
(num == 0)
16
{
17
}
18
Type
type2
;
19
this.serverType
=
type2
;
20
string
[]
array
= this.
interfacesImplemented
;
21
if
(type ==
null
|| type !=
null
)
22
{
23
return
;
24
}
25
throw
new
ArrayTypeMismatchException
();
26
}
27
28
// Token: 0x17000347 RID: 839
29
// (get) Token: 0x06001C7C RID: 7292 RVA: 0x0003DF48 File Offset: 0x0003C148
30
public
string
TypeName
31
{
32
get
33
{
34
return
this.
serverType
;
35
}
36
}
37
38
// Token: 0x06001C7D RID: 7293 RVA: 0x0003DF5C File Offset: 0x0003C15C
39
public
bool
CanCastTo
(
Type
fromType
,
object
o)
40
{
41
if
(!
true
)
42
{
43
}
44
Type
type;
45
bool
flag =
fromType
== type;
46
Type
type2
;
47
bool
flag2
=
fromType
==
type2
;
48
string
text
;
49
bool
flag3
= (
this.serverType
+
","
).StartsWith(
text
);
50
if
(this.
serverHierarchy
!=
null
)
51
{
52
string
text2;
53
bool
flag4
= text2.StartsWith(
text
);
54
}
55
if
(this.
interfacesImplemented
!=
null
)
56
{
57
string
text3
;
58
bool
flag5
= text3.StartsWith(
text
);
59
return
;
60
}
61
}
62
63
// Token: 0x04000E6E RID: 3694
64
private
string
serverType
;
65
66
// Token: 0x04000E6F RID: 3695
67
private
string
[]
serverHierarchy
;
68
69
// Token: 0x04000E70 RID: 3696
70
private
string
[]
interfacesImplemented
;
71
}
72
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.Runtime.Remoting.TypeInfo.interfacesImplemented
string[] interfacesImplemented
Definition
TypeInfo.cs:70
System.Runtime.Remoting.TypeInfo.serverType
string serverType
Definition
TypeInfo.cs:64
System.Runtime.Remoting.TypeInfo.TypeInfo
TypeInfo(Type type)
Definition
TypeInfo.cs:10
System.Runtime.Remoting.TypeInfo.CanCastTo
bool CanCastTo(Type fromType, object o)
Definition
TypeInfo.cs:39
System.Runtime.Remoting.TypeInfo.serverHierarchy
string[] serverHierarchy
Definition
TypeInfo.cs:67
System.Runtime.Remoting.TypeInfo
Definition
TypeInfo.cs:8
System.Type.IsInterface
bool IsInterface
Definition
Type.cs:1345
System.Type
Definition
Type.cs:12
System.Runtime.Remoting.IRemotingTypeInfo
Definition
IRemotingTypeInfo.cs:9
System.TypeName
Definition
TypeName.cs:7
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.Remoting
Definition
ActivatedClientTypeEntry.cs:7
System.ExceptionArgument.text
@ text
System.ExceptionArgument.array
@ array
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
Remoting
TypeInfo.cs
Generated by
1.10.0