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
ReflectionTypeLoadException.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
System.Runtime.Serialization
;
4
5
namespace
System.Reflection
6
{
7
// Token: 0x020004E9 RID: 1257
8
[
Serializable
]
9
public
sealed
class
ReflectionTypeLoadException
:
SystemException
,
ISerializable
10
{
11
// Token: 0x0600242C RID: 9260 RVA: 0x00050E4C File Offset: 0x0004F04C
12
public
ReflectionTypeLoadException
(
Type
[]
classes
,
Exception
[]
exceptions
)
13
{
14
this.<
Types
>
k__BackingField
=
classes
;
15
this.LoaderExceptions
=
exceptions
;
16
this._HResult
= 5634;
17
}
18
19
// Token: 0x0600242D RID: 9261 RVA: 0x00050E74 File Offset: 0x0004F074
20
private
ReflectionTypeLoadException
(
SerializationInfo
info
,
StreamingContext
context)
21
:
base
(
info
, context)
22
{
23
if
(!
true
)
24
{
25
}
26
Type
type;
27
object
value
=
info
.GetValue(
"Exceptions"
, type);
28
if
(
value
!=
null
)
29
{
30
if
(
value
==
null
)
31
{
32
throw
new
InvalidCastException
();
33
}
34
this.LoaderExceptions
=
value
;
35
if
(
value
==
null
)
36
{
37
throw
new
InvalidCastException
();
38
}
39
}
40
}
41
42
// Token: 0x0600242E RID: 9262 RVA: 0x00050EB8 File Offset: 0x0004F0B8
43
public
override
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
44
{
45
base
.GetObjectData(
info
, context);
46
if
(!
true
)
47
{
48
}
49
long
num = 0
L
;
50
Type
type;
51
info
.AddValue(
"Types"
, num, type);
52
Exception
[]
array
= this.<
LoaderExceptions
>
k__BackingField
;
53
Type
type2
;
54
info
.AddValue(
"Exceptions"
,
array
,
type2
);
55
}
56
57
// Token: 0x170004D1 RID: 1233
58
// (get) Token: 0x0600242F RID: 9263 RVA: 0x00050EF4 File Offset: 0x0004F0F4
59
public
Exception
[]
LoaderExceptions
60
{
61
[
CompilerGenerated
]
62
get
63
{
64
return
this.<
LoaderExceptions
>
k__BackingField
;
65
}
66
}
67
68
// Token: 0x170004D2 RID: 1234
69
// (get) Token: 0x06002430 RID: 9264 RVA: 0x00050F08 File Offset: 0x0004F108
70
public
override
string
Message
71
{
72
get
73
{
74
return
this.
CreateString
(
true
);
75
}
76
}
77
78
// Token: 0x06002431 RID: 9265 RVA: 0x00050F1C File Offset: 0x0004F11C
79
public
override
string
ToString
()
80
{
81
long
num = 0
L
;
82
return
this.
CreateString
(num != 0
L
);
83
}
84
85
// Token: 0x06002432 RID: 9266 RVA: 0x00050F34 File Offset: 0x0004F134
86
private
string
CreateString
(
bool
isMessage
)
87
{
88
return
base
.Message;
89
}
90
91
// Token: 0x04001412 RID: 5138
92
[
CompilerGenerated
]
93
private
readonly
Type
[] <
Types
>
k__BackingField
;
94
95
// Token: 0x04001413 RID: 5139
96
[
CompilerGenerated
]
97
private
readonly
Exception
[] <
LoaderExceptions
>
k__BackingField
;
98
}
99
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Exception
Definition
Exception.cs:15
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Reflection.ReflectionTypeLoadException.LoaderExceptions
Exception[] LoaderExceptions
Definition
ReflectionTypeLoadException.cs:60
System.Reflection.ReflectionTypeLoadException.ToString
override string ToString()
Definition
ReflectionTypeLoadException.cs:79
System.Reflection.ReflectionTypeLoadException.Message
override string Message
Definition
ReflectionTypeLoadException.cs:71
System.Reflection.ReflectionTypeLoadException.GetObjectData
override void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
ReflectionTypeLoadException.cs:43
System.Reflection.ReflectionTypeLoadException.ReflectionTypeLoadException
ReflectionTypeLoadException(Type[] classes, Exception[] exceptions)
Definition
ReflectionTypeLoadException.cs:12
System.Reflection.ReflectionTypeLoadException.k__BackingField
readonly Exception[]< LoaderExceptions > k__BackingField
Definition
ReflectionTypeLoadException.cs:97
System.Reflection.ReflectionTypeLoadException.CreateString
string CreateString(bool isMessage)
Definition
ReflectionTypeLoadException.cs:86
System.Reflection.ReflectionTypeLoadException.k__BackingField
readonly Type[]< Types > k__BackingField
Definition
ReflectionTypeLoadException.cs:93
System.Reflection.ReflectionTypeLoadException.ReflectionTypeLoadException
ReflectionTypeLoadException(SerializationInfo info, StreamingContext context)
Definition
ReflectionTypeLoadException.cs:20
System.Reflection.ReflectionTypeLoadException
Definition
ReflectionTypeLoadException.cs:10
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.SystemException
Definition
SystemException.cs:9
System.Type
Definition
Type.cs:12
System.Runtime.Serialization.ISerializable
Definition
ISerializable.cs:7
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.exceptions
@ exceptions
System.ExceptionArgument.value
@ value
System.ExceptionArgument.info
@ info
System.ExceptionArgument.array
@ array
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
Reflection
ReflectionTypeLoadException.cs
Generated by
1.10.0