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
FileNotFoundException.cs
Go to the documentation of this file.
1using System;
4
5namespace System.IO
6{
7 // Token: 0x02000535 RID: 1333
10 {
11 // Token: 0x0600273F RID: 10047 RVA: 0x00054EDC File Offset: 0x000530DC
13 : base("Unable to find the specified file.")
14 {
15 this._HResult = 2;
16 }
17
18 // Token: 0x06002740 RID: 10048 RVA: 0x00054EFC File Offset: 0x000530FC
19 public FileNotFoundException(string message)
20 : base(message)
21 {
22 this._HResult = 2;
23 }
24
25 // Token: 0x06002741 RID: 10049 RVA: 0x00054F18 File Offset: 0x00053118
26 public FileNotFoundException(string message, string fileName)
27 : base(message)
28 {
29 this._HResult = 2;
30 this.FileName = fileName;
31 }
32
33 // Token: 0x170005A6 RID: 1446
34 // (get) Token: 0x06002742 RID: 10050 RVA: 0x00054F3C File Offset: 0x0005313C
35 public override string Message
36 {
37 get
38 {
39 this.SetMessageField();
40 return this._message;
41 }
42 }
43
44 // Token: 0x06002743 RID: 10051 RVA: 0x00054F58 File Offset: 0x00053158
45 private void SetMessageField()
46 {
47 if (this._message == null)
48 {
49 if (this.<FileName>k__BackingField != null)
50 {
51 string text;
53 return;
54 }
55 int hresult = this._HResult;
56 this._message = "Unable to find the specified file.";
57 }
58 }
59
60 // Token: 0x170005A7 RID: 1447
61 // (get) Token: 0x06002744 RID: 10052 RVA: 0x00054F90 File Offset: 0x00053190
62 public string FileName
63 {
65 get
66 {
67 return this.<FileName>k__BackingField;
68 }
69 }
70
71 // Token: 0x170005A8 RID: 1448
72 // (get) Token: 0x06002745 RID: 10053 RVA: 0x00054FA4 File Offset: 0x000531A4
73 public string FusionLog
74 {
76 get
77 {
78 return this.<FusionLog>k__BackingField;
79 }
80 }
81
82 // Token: 0x06002746 RID: 10054 RVA: 0x00054FB8 File Offset: 0x000531B8
83 public override string ToString()
84 {
85 Type type = base.GetType();
86 string text = this.<FileName>k__BackingField;
87 if (text != null && text._stringLength != 0)
88 {
89 string newLine = Environment.NewLine;
90 string text2 = this.<FileName>k__BackingField;
91 string text3 = SR.Format("File name: '{0}'", text2);
92 string text5;
93 string text4 = text5 + newLine + text3;
94 }
95 if (this._innerException != null)
96 {
97 }
98 if (this != null)
99 {
101 }
102 string text6;
103 if (this.<FusionLog>k__BackingField != null)
104 {
106 string text7;
107 text6 = text7 + newLine3;
109 string text8 = text6 + newLine4;
110 string text9 = this.<FusionLog>k__BackingField;
111 return text8 + text9;
112 }
113 return text6;
114 }
115
116 // Token: 0x06002747 RID: 10055 RVA: 0x00055064 File Offset: 0x00053264
118 : base(info, context)
119 {
120 string @string = info.GetString("FileNotFound_FileName");
121 this.FileName = @string;
122 string string2 = info.GetString("FileNotFound_FusionLog");
124 }
125
126 // Token: 0x06002748 RID: 10056 RVA: 0x000550A0 File Offset: 0x000532A0
128 {
129 base.GetObjectData(info, context);
130 string text = this.<FileName>k__BackingField;
131 if (!true)
132 {
133 }
134 Type type;
135 info.AddValue("FileNotFound_FileName", text, type);
136 string text2 = this.<FusionLog>k__BackingField;
137 Type type2;
138 info.AddValue("FileNotFound_FusionLog", text2, type2);
139 }
140
141 // Token: 0x04001572 RID: 5490
143 private readonly string <FileName>k__BackingField;
144
145 // Token: 0x04001573 RID: 5491
147 private readonly string <FusionLog>k__BackingField;
148 }
149}
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
override void GetObjectData(SerializationInfo info, StreamingContext context)
FileNotFoundException(string message, string fileName)
readonly string< FusionLog > k__BackingField
FileNotFoundException(SerializationInfo info, StreamingContext context)
readonly string< FileName > k__BackingField
new Type GetType()
Definition Type.cs:287