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
MissingMemberException.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Serialization
;
3
using
Cpp2IlInjected
;
4
5
namespace
System
6
{
7
// Token: 0x02000132 RID: 306
8
[
Serializable
]
9
public
class
MissingMemberException
:
MemberAccessException
10
{
11
// Token: 0x06000BDE RID: 3038 RVA: 0x0001A6D8 File Offset: 0x000188D8
12
public
MissingMemberException
()
13
:
base
(
"Attempted to access a missing member."
)
14
{
15
this._HResult
= 5394;
16
}
17
18
// Token: 0x06000BDF RID: 3039 RVA: 0x0001A6FC File Offset: 0x000188FC
19
public
MissingMemberException
(
string
message)
20
:
base
(message)
21
{
22
this._HResult
= 5394;
23
}
24
25
// Token: 0x06000BE0 RID: 3040 RVA: 0x0001A71C File Offset: 0x0001891C
26
protected
MissingMemberException
(
SerializationInfo
info
,
StreamingContext
context)
27
{
28
string
@
string
=
info
.GetString(
"MMClassName"
);
29
this.ClassName
= @string;
30
string
string2
=
info
.GetString(
"MMMemberName"
);
31
this.MemberName
=
string2
;
32
if
(!
true
)
33
{
34
}
35
Type
type;
36
object
value
=
info
.GetValue(
"MMSignature"
, type);
37
if
(
value
!=
null
)
38
{
39
if
(
value
==
null
)
40
{
41
throw
new
InvalidCastException
();
42
}
43
this.Signature
=
value
;
44
if
(
value
==
null
)
45
{
46
throw
new
InvalidCastException
();
47
}
48
}
49
}
50
51
// Token: 0x06000BE1 RID: 3041 RVA: 0x0001A77C File Offset: 0x0001897C
52
public
override
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
53
{
54
base
.GetObjectData(
info
, context);
55
string
className = this.
ClassName
;
56
if
(!
true
)
57
{
58
}
59
Type
type;
60
info
.AddValue(
"MMClassName"
, className, type);
61
string
memberName = this.
MemberName
;
62
Type
type2
;
63
info
.AddValue(
"MMMemberName"
, memberName,
type2
);
64
byte
[] signature = this.
Signature
;
65
Type
type3
;
66
info
.AddValue(
"MMSignature"
, signature,
type3
);
67
}
68
69
// Token: 0x17000107 RID: 263
70
// (get) Token: 0x06000BE2 RID: 3042 RVA: 0x0001A7D4 File Offset: 0x000189D4
71
public
override
string
Message
72
{
73
get
74
{
75
if
(this.
ClassName
==
null
)
76
{
77
string
text
;
78
return
text
;
79
}
80
string
memberName = this.
MemberName
;
81
if
(this.
Signature
!=
null
)
82
{
83
string
text2;
84
return
text2;
85
}
86
string
text3
;
87
return
SR
.
Format
(
"Member '{0}' not found."
,
text3
);
88
}
89
}
90
91
// Token: 0x06000BE3 RID: 3043 RVA: 0x0000207A File Offset: 0x0000027A
92
internal
static
string
FormatSignature
(
byte
[] signature)
93
{
94
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
95
}
96
97
// Token: 0x040004CE RID: 1230
98
protected
string
ClassName
;
99
100
// Token: 0x040004CF RID: 1231
101
protected
string
MemberName
;
102
103
// Token: 0x040004D0 RID: 1232
104
protected
byte
[]
Signature
;
105
}
106
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
SR.Format
static string Format(string resourceFormat, params object[] args)
Definition
SR.cs:33
SR
Definition
SR.cs:7
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.MemberAccessException
Definition
MemberAccessException.cs:9
System.MissingMemberException.MemberName
string MemberName
Definition
MissingMemberException.cs:101
System.MissingMemberException.MissingMemberException
MissingMemberException(string message)
Definition
MissingMemberException.cs:19
System.MissingMemberException.Message
override string Message
Definition
MissingMemberException.cs:72
System.MissingMemberException.GetObjectData
override void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
MissingMemberException.cs:52
System.MissingMemberException.FormatSignature
static string FormatSignature(byte[] signature)
Definition
MissingMemberException.cs:92
System.MissingMemberException.MissingMemberException
MissingMemberException(SerializationInfo info, StreamingContext context)
Definition
MissingMemberException.cs:26
System.MissingMemberException.ClassName
string ClassName
Definition
MissingMemberException.cs:98
System.MissingMemberException.Signature
byte[] Signature
Definition
MissingMemberException.cs:104
System.MissingMemberException.MissingMemberException
MissingMemberException()
Definition
MissingMemberException.cs:12
System.MissingMemberException
Definition
MissingMemberException.cs:10
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.Type
Definition
Type.cs:12
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
MissingMemberException.cs
Generated by
1.10.0