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
LicenseException.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Serialization
;
3
4
namespace
System.ComponentModel
5
{
6
// Token: 0x020003E5 RID: 997
7
[
Serializable
]
8
public
class
LicenseException
:
SystemException
9
{
10
// Token: 0x06001A53 RID: 6739 RVA: 0x00048D30 File Offset: 0x00046F30
11
public
LicenseException
(
Type
type
)
12
{
13
if
(
type
==
null
||
type
!=
null
)
14
{
15
string
text
;
16
base
..ctor(
text
);
17
this.type
=
type
;
18
this._HResult
= 6401;
19
return
;
20
}
21
throw
new
ArrayTypeMismatchException
();
22
}
23
24
// Token: 0x06001A54 RID: 6740 RVA: 0x00048D64 File Offset: 0x00046F64
25
public
LicenseException
(
Type
type
,
object
instance
)
26
{
27
if
(
type
==
null
||
type
!=
null
)
28
{
29
Type
type2
=
instance
.GetType();
30
if
(
type2
==
null
||
type2
!=
null
)
31
{
32
string
text
;
33
base
..ctor(
text
);
34
this.type
=
type
;
35
this._HResult
= 6401;
36
return
;
37
}
38
}
39
throw
new
ArrayTypeMismatchException
();
40
}
41
42
// Token: 0x06001A55 RID: 6741 RVA: 0x00048DA4 File Offset: 0x00046FA4
43
public
LicenseException
(
Type
type
,
object
instance
,
string
message)
44
:
base
(message)
45
{
46
this.type
=
type
;
47
this.instance
=
instance
;
48
this._HResult
= 6401;
49
}
50
51
// Token: 0x06001A56 RID: 6742 RVA: 0x00048DD4 File Offset: 0x00046FD4
52
public
LicenseException
(
Type
type
,
object
instance
,
string
message,
Exception
innerException
)
53
:
base
(message,
innerException
)
54
{
55
this.type
=
type
;
56
this.instance
=
instance
;
57
this._HResult
= 6401;
58
}
59
60
// Token: 0x06001A57 RID: 6743 RVA: 0x00048E04 File Offset: 0x00047004
61
protected
LicenseException
(
SerializationInfo
info
,
StreamingContext
context)
62
{
63
int
num = 1;
64
base
..ctor(
info
, context);
65
if
(num == 0)
66
{
67
}
68
Type
type
;
69
object
value
=
info
.GetValue(
"type"
,
type
);
70
if
(
value
!=
null
)
71
{
72
this.type
=
value
;
73
throw
new
InvalidCastException
();
74
}
75
Type
type2
;
76
object
value2
=
info
.GetValue(
"instance"
,
type2
);
77
this.instance
=
value2
;
78
}
79
80
// Token: 0x1700060B RID: 1547
81
// (get) Token: 0x06001A58 RID: 6744 RVA: 0x00048E54 File Offset: 0x00047054
82
public
Type
LicensedType
83
{
84
get
85
{
86
return
this.
type
;
87
}
88
}
89
90
// Token: 0x06001A59 RID: 6745 RVA: 0x00048E68 File Offset: 0x00047068
91
public
override
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
92
{
93
while
(
info
==
null
)
94
{
95
}
96
Type
type
= this.
type
;
97
info.
AddValue
(
"type"
,
type
);
98
object
obj
= this.
instance
;
99
info.
AddValue
(
"instance"
,
obj
);
100
base
.GetObjectData(
info
, context);
101
}
102
103
// Token: 0x0400130B RID: 4875
104
private
Type
type
;
105
106
// Token: 0x0400130C RID: 4876
107
private
object
instance
;
108
}
109
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.ComponentModel.LicenseException.LicenseException
LicenseException(Type type, object instance, string message)
Definition
LicenseException.cs:43
System.ComponentModel.LicenseException.GetObjectData
override void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
LicenseException.cs:91
System.ComponentModel.LicenseException.instance
object instance
Definition
LicenseException.cs:107
System.ComponentModel.LicenseException.LicenseException
LicenseException(Type type, object instance, string message, Exception innerException)
Definition
LicenseException.cs:52
System.ComponentModel.LicenseException.LicenseException
LicenseException(SerializationInfo info, StreamingContext context)
Definition
LicenseException.cs:61
System.ComponentModel.LicenseException.type
Type type
Definition
LicenseException.cs:104
System.ComponentModel.LicenseException.LicenseException
LicenseException(Type type, object instance)
Definition
LicenseException.cs:25
System.ComponentModel.LicenseException.LicensedType
Type LicensedType
Definition
LicenseException.cs:83
System.ComponentModel.LicenseException.LicenseException
LicenseException(Type type)
Definition
LicenseException.cs:11
System.ComponentModel.LicenseException
Definition
LicenseException.cs:9
System.Exception
Definition
Exception.cs:15
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Runtime.Serialization.SerializationInfo.AddValue
void AddValue(string name, object value, Type type)
Definition
SerializationInfo.cs:178
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.SystemException
Definition
SystemException.cs:9
System.Type
Definition
Type.cs:12
System.ComponentModel
Definition
AddingNewEventArgs.cs:6
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.obj
@ obj
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
System
ComponentModel
LicenseException.cs
Generated by
1.10.0