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.
1using System;
3
5{
6 // Token: 0x020003E5 RID: 997
9 {
10 // Token: 0x06001A53 RID: 6739 RVA: 0x00048D30 File Offset: 0x00046F30
12 {
13 if (type == null || type != null)
14 {
15 string text;
16 base..ctor(text);
18 this._HResult = 6401;
19 return;
20 }
22 }
23
24 // Token: 0x06001A54 RID: 6740 RVA: 0x00048D64 File Offset: 0x00046F64
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);
35 this._HResult = 6401;
36 return;
37 }
38 }
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 {
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 {
57 this._HResult = 6401;
58 }
59
60 // Token: 0x06001A57 RID: 6743 RVA: 0x00048E04 File Offset: 0x00047004
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 {
73 throw new InvalidCastException();
74 }
75 Type type2;
76 object value2 = info.GetValue("instance", type2);
78 }
79
80 // Token: 0x1700060B RID: 1547
81 // (get) Token: 0x06001A58 RID: 6744 RVA: 0x00048E54 File Offset: 0x00047054
83 {
84 get
85 {
86 return this.type;
87 }
88 }
89
90 // Token: 0x06001A59 RID: 6745 RVA: 0x00048E68 File Offset: 0x00047068
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}
class f__AnonymousType0<< Count > j__TPar
LicenseException(Type type, object instance, string message)
override void GetObjectData(SerializationInfo info, StreamingContext context)
LicenseException(Type type, object instance, string message, Exception innerException)
LicenseException(SerializationInfo info, StreamingContext context)
LicenseException(Type type, object instance)
void AddValue(string name, object value, Type type)