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
FileLoadException.cs
Go to the documentation of this file.
1using System;
4
5namespace System.IO
6{
7 // Token: 0x02000533 RID: 1331
10 {
11 // Token: 0x06002736 RID: 10038 RVA: 0x00054D04 File Offset: 0x00052F04
13 : base("Could not load the specified file.")
14 {
15 this._HResult = 5665;
16 }
17
18 // Token: 0x06002737 RID: 10039 RVA: 0x00054D28 File Offset: 0x00052F28
19 public FileLoadException(string message)
20 : base(message)
21 {
22 this._HResult = 5665;
23 }
24
25 // Token: 0x170005A3 RID: 1443
26 // (get) Token: 0x06002738 RID: 10040 RVA: 0x00054D48 File Offset: 0x00052F48
27 public override string Message
28 {
29 get
30 {
31 string text2;
32 if (this._message == null)
33 {
34 string text = this.<FileName>k__BackingField;
35 this._message = text2;
36 }
37 return text2;
38 }
39 }
40
41 // Token: 0x170005A4 RID: 1444
42 // (get) Token: 0x06002739 RID: 10041 RVA: 0x00054D6C File Offset: 0x00052F6C
43 public string FileName
44 {
46 get
47 {
48 return this.<FileName>k__BackingField;
49 }
50 }
51
52 // Token: 0x170005A5 RID: 1445
53 // (get) Token: 0x0600273A RID: 10042 RVA: 0x00054D80 File Offset: 0x00052F80
54 public string FusionLog
55 {
57 get
58 {
59 return this.<FusionLog>k__BackingField;
60 }
61 }
62
63 // Token: 0x0600273B RID: 10043 RVA: 0x00054D94 File Offset: 0x00052F94
64 public override string ToString()
65 {
66 Type type = base.GetType();
67 string text = this.<FileName>k__BackingField;
68 if (text != null && text._stringLength != 0)
69 {
70 string newLine = Environment.NewLine;
71 string text2 = this.<FileName>k__BackingField;
72 string text3 = SR.Format("File name: '{0}'", text2);
73 string text5;
74 string text4 = text5 + newLine + text3;
75 }
76 if (this._innerException != null)
77 {
78 }
79 if (this != null)
80 {
82 }
83 string text6;
84 if (this.<FusionLog>k__BackingField != null)
85 {
87 string text7;
90 string text8 = text6 + newLine4;
91 string text9 = this.<FusionLog>k__BackingField;
92 return text8 + text9;
93 }
94 return text6;
95 }
96
97 // Token: 0x0600273C RID: 10044 RVA: 0x00054E40 File Offset: 0x00053040
99 : base(info, context)
100 {
101 string @string = info.GetString("FileLoad_FileName");
102 this.FileName = @string;
103 string string2 = info.GetString("FileLoad_FusionLog");
105 }
106
107 // Token: 0x0600273D RID: 10045 RVA: 0x00054E7C File Offset: 0x0005307C
109 {
110 base.GetObjectData(info, context);
111 string text = this.<FileName>k__BackingField;
112 if (!true)
113 {
114 }
115 Type type;
116 info.AddValue("FileLoad_FileName", text, type);
117 string text2 = this.<FusionLog>k__BackingField;
118 Type type2;
119 info.AddValue("FileLoad_FusionLog", text2, type2);
120 }
121
122 // Token: 0x0600273E RID: 10046 RVA: 0x00054EBC File Offset: 0x000530BC
123 internal static string FormatFileLoadExceptionMessage(string fileName, int hResult)
124 {
125 return SR.Format("Could not load the file '{0}'.", fileName);
126 }
127
128 // Token: 0x04001569 RID: 5481
130 private readonly string <FileName>k__BackingField;
131
132 // Token: 0x0400156A RID: 5482
134 private readonly string <FusionLog>k__BackingField;
135 }
136}
class f__AnonymousType0<< Count > j__TPar
static string Format(string resourceFormat, params object[] args)
Definition SR.cs:33
Definition SR.cs:7
static string NewLine
Exception _innerException
Definition Exception.cs:418
readonly string< FileName > k__BackingField
FileLoadException(SerializationInfo info, StreamingContext context)
readonly string< FusionLog > k__BackingField
static string FormatFileLoadExceptionMessage(string fileName, int hResult)
override void GetObjectData(SerializationInfo info, StreamingContext context)
new Type GetType()
Definition Type.cs:287