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
XmlException.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Xml
6{
7 // Token: 0x020000A8 RID: 168
10 {
11 // Token: 0x06000779 RID: 1913 RVA: 0x00018BC8 File Offset: 0x00016DC8
13 : base(info, context)
14 {
15 if (!true)
16 {
17 }
18 Type type;
19 object value = info.GetValue("res", type);
20 if (value != null)
21 {
23 return;
24 }
25 Type type2;
26 object value2 = info.GetValue("args", type2);
27 if (value2 != null)
28 {
29 if (value2 != null)
30 {
32 if (value2 != null)
33 {
34 goto IL_0046;
35 }
36 }
37 throw new InvalidCastException();
38 }
39 IL_0046:
40 Type type3;
41 object value3 = info.GetValue("lineNumber", type3);
42 Type type4;
43 object value4 = info.GetValue("linePosition", type4);
44 SerializationInfoEnumerator enumerator = info.GetEnumerator();
45 bool flag = enumerator.MoveNext();
47 }
48
49 // Token: 0x0600077A RID: 1914 RVA: 0x00018C98 File Offset: 0x00016E98
51 {
52 base.GetObjectData(info, context);
53 string text = this.res;
54 info.AddValue("res", text);
55 string[] array = this.args;
56 info.AddValue("args", array);
57 int num = this.lineNumber;
58 info.AddValue("lineNumber", num);
59 int num2 = this.linePosition;
60 info.AddValue("linePosition", num2);
61 string text2 = this.sourceUri;
62 info.AddValue("sourceUri", text2);
63 info.AddValue("version", "2.0");
64 }
65
66 // Token: 0x0600077B RID: 1915 RVA: 0x00018D20 File Offset: 0x00016F20
67 public XmlException()
68 {
69 }
70
71 // Token: 0x0600077C RID: 1916 RVA: 0x00018D30 File Offset: 0x00016F30
72 public XmlException(string message)
73 {
74 }
75
76 // Token: 0x0600077D RID: 1917 RVA: 0x00018D40 File Offset: 0x00016F40
80
81 // Token: 0x0600077E RID: 1918 RVA: 0x00018D50 File Offset: 0x00016F50
83 {
85 base..ctor(text, innerException);
86 this._HResult = 6464;
87 this.res = 6464;
88 if (message == null || message != null)
89 {
93 return;
94 }
96 }
97
98 // Token: 0x0600077F RID: 1919 RVA: 0x00018DA8 File Offset: 0x00016FA8
99 internal XmlException(string res, string[] args)
100 {
101 long num = 0L;
102 long num2 = 0L;
103 string text = XmlException.CreateMessage(res, args, (int)num, (int)num2);
104 this.res = res;
105 this.args = args;
106 this._HResult = 6464;
107 }
108
109 // Token: 0x06000780 RID: 1920 RVA: 0x00018DDC File Offset: 0x00016FDC
110 internal XmlException(string res, string arg)
111 {
112 if (arg == null || arg != null)
113 {
114 this.res = res;
115 this._HResult = 6464;
116 return;
117 }
118 throw new ArrayTypeMismatchException();
119 }
120
121 // Token: 0x06000781 RID: 1921 RVA: 0x00018E08 File Offset: 0x00017008
122 internal XmlException(string res, string arg, string sourceUri)
123 {
124 if (arg == null || arg != null)
125 {
126 this.res = res;
128 this._HResult = 6464;
129 return;
130 }
131 throw new ArrayTypeMismatchException();
132 }
133
134 // Token: 0x06000782 RID: 1922 RVA: 0x00018E3C File Offset: 0x0001703C
135 internal XmlException(string res, string arg, int lineNumber, int linePosition)
136 {
137 if (arg == null || arg != null)
138 {
139 this.res = res;
140 this._HResult = 6464;
143 return;
144 }
145 throw new ArrayTypeMismatchException();
146 }
147
148 // Token: 0x06000783 RID: 1923 RVA: 0x00018E78 File Offset: 0x00017078
149 internal XmlException(string res, string arg, int lineNumber, int linePosition, string sourceUri)
150 {
151 if (arg == null || arg != null)
152 {
153 this.res = res;
155 this._HResult = 6464;
158 return;
159 }
160 throw new ArrayTypeMismatchException();
161 }
162
163 // Token: 0x06000784 RID: 1924 RVA: 0x00018EBC File Offset: 0x000170BC
164 internal XmlException(string res, string[] args, int lineNumber, int linePosition)
165 {
167 this.res = res;
168 this.args = args;
169 this._HResult = 6464;
172 }
173
174 // Token: 0x06000785 RID: 1925 RVA: 0x00018EFC File Offset: 0x000170FC
185
186 // Token: 0x06000786 RID: 1926 RVA: 0x00018F44 File Offset: 0x00017144
197
198 // Token: 0x06000787 RID: 1927 RVA: 0x00018F90 File Offset: 0x00017190
210
211 // Token: 0x06000788 RID: 1928 RVA: 0x00018FE4 File Offset: 0x000171E4
212 private static string FormatUserMessage(string message, int lineNumber, int linePosition)
213 {
214 string text;
215 if (true)
216 {
217 return text;
218 }
219 return text;
220 }
221
222 // Token: 0x06000789 RID: 1929 RVA: 0x00019000 File Offset: 0x00017200
223 private static string CreateMessage(string res, string[] args, int lineNumber, int linePosition)
224 {
225 if (args == null)
226 {
227 string text;
228 return text;
229 }
232 if (res != null)
233 {
234 }
235 string text2;
236 if (text2 != null && text2 == null)
237 {
238 throw new ArrayTypeMismatchException();
239 }
240 string text3;
241 if (text3 != null && text3 == null)
242 {
243 throw new ArrayTypeMismatchException();
244 }
245 string text4;
246 if (text4 == null || text4 != null)
247 {
248 string text5;
249 return text5;
250 }
251 throw new ArrayTypeMismatchException();
252 }
253
254 // Token: 0x0600078A RID: 1930 RVA: 0x0001909C File Offset: 0x0001729C
255 internal static string[] BuildCharExceptionArgs(string data, int invCharIndex)
256 {
257 long num = 0L;
258 char c;
259 return XmlException.BuildCharExceptionArgs(c, (char)num);
260 }
261
262 // Token: 0x0600078B RID: 1931 RVA: 0x000190B4 File Offset: 0x000172B4
263 internal static string[] BuildCharExceptionArgs(char[] data, int length, int invCharIndex)
264 {
265 string[] array;
266 return array;
267 }
268
269 // Token: 0x0600078C RID: 1932 RVA: 0x000190C4 File Offset: 0x000172C4
270 internal static string[] BuildCharExceptionArgs(char invChar, char nextChar)
271 {
272 string text;
273 if (text == null || text != null)
274 {
277 string text2;
278 if (text2 == null || text2 != null)
279 {
280 return text2;
281 }
282 }
283 throw new ArrayTypeMismatchException();
284 }
285
286 // Token: 0x170001C8 RID: 456
287 // (get) Token: 0x0600078D RID: 1933 RVA: 0x0001912C File Offset: 0x0001732C
288 public int LineNumber
289 {
290 get
291 {
292 return this.lineNumber;
293 }
294 }
295
296 // Token: 0x170001C9 RID: 457
297 // (get) Token: 0x0600078E RID: 1934 RVA: 0x00019140 File Offset: 0x00017340
298 public int LinePosition
299 {
300 get
301 {
302 return this.linePosition;
303 }
304 }
305
306 // Token: 0x170001CA RID: 458
307 // (get) Token: 0x0600078F RID: 1935 RVA: 0x00019154 File Offset: 0x00017354
308 public override string Message
309 {
310 get
311 {
312 string text = this.message;
313 if (text != null)
314 {
315 return text;
316 }
317 string text2;
318 return text2;
319 }
320 }
321
322 // Token: 0x170001CB RID: 459
323 // (get) Token: 0x06000790 RID: 1936 RVA: 0x00019170 File Offset: 0x00017370
324 internal string ResString
325 {
326 get
327 {
328 return this.res;
329 }
330 }
331
332 // Token: 0x040003BC RID: 956
333 private string res;
334
335 // Token: 0x040003BD RID: 957
336 private string[] args;
337
338 // Token: 0x040003BE RID: 958
339 private int lineNumber;
340
341 // Token: 0x040003BF RID: 959
342 private int linePosition;
343
344 // Token: 0x040003C0 RID: 960
346 private string sourceUri;
347
348 // Token: 0x040003C1 RID: 961
349 private string message;
350 }
351}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
void AddValue(string name, object value, Type type)
static string[] BuildCharExceptionArgs(char[] data, int length, int invCharIndex)
static string[] BuildCharExceptionArgs(string data, int invCharIndex)
XmlException(string res, string[] args, int lineNumber, int linePosition, string sourceUri)
XmlException(string res, string[] args)
XmlException(string message, Exception innerException, int lineNumber, int linePosition, string sourceUri)
XmlException(SerializationInfo info, StreamingContext context)
XmlException(string res, string arg, int lineNumber, int linePosition)
XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition, string sourceUri)
XmlException(string res, string[] args, int lineNumber, int linePosition)
static string CreateMessage(string res, string[] args, int lineNumber, int linePosition)
override string Message
XmlException(string message, Exception innerException, int lineNumber, int linePosition)
XmlException(string message)
XmlException(string res, string arg, int lineNumber, int linePosition, string sourceUri)
XmlException(string res, string arg)
override void GetObjectData(SerializationInfo info, StreamingContext context)
static string[] BuildCharExceptionArgs(char invChar, char nextChar)
XmlException(string res, string arg, string sourceUri)
XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition)
static string FormatUserMessage(string message, int lineNumber, int linePosition)