terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
RuntimeResourceSet.cs
Go to the documentation of this file.
1using System;
4using System.IO;
9
10namespace System.Resources
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20004AC")]
13 internal sealed class RuntimeResourceSet : ResourceSet, global::System.Collections.IEnumerable
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x60022D5")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1B75FF0", Offset = "0x1B75FF0", Length = "0x130")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileBasedResourceGroveler), Member = "CreateResourceSet", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ResourceSet))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Collections.Generic.IEqualityComparer<object>) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.FileStream), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(string),
24 typeof(global::System.IO.FileMode),
25 typeof(global::System.IO.FileAccess),
26 typeof(global::System.IO.FileShare)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = ".ctor", MemberParameters = new object[]
29 {
30 typeof(global::System.IO.Stream),
31 typeof(global::System.Collections.Generic.Dictionary<string, ResourceLocator>)
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
34 internal RuntimeResourceSet(string fileName)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x60022D6")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1B7620C", Offset = "0x1B7620C", Length = "0xF4")]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManifestBasedResourceGroveler), Member = "CreateResourceSet", MemberParameters = new object[]
42 {
43 typeof(global::System.IO.Stream),
44 typeof(global::System.Reflection.Assembly)
45 }, ReturnType = typeof(ResourceSet))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Collections.Generic.IEqualityComparer<object>) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = ".ctor", MemberParameters = new object[]
50 {
51 typeof(global::System.IO.Stream),
52 typeof(global::System.Collections.Generic.Dictionary<string, ResourceLocator>)
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
55 internal RuntimeResourceSet(global::System.IO.Stream stream)
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x60022D7")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1B76300", Offset = "0x1B76300", Length = "0x140")]
62 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
65 {
66 typeof(object),
67 typeof(ref bool)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceSet), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
72 protected override void Dispose(bool disposing)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x60022D8")]
78 [global::Cpp2ILInjected.Address(RVA = "0x1B76530", Offset = "0x1B76530", Length = "0x4")]
79 [global::Cpp2ILInjected.CallAnalysis.CallAnalysisNotSupported]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 public override global::System.Collections.IDictionaryEnumerator GetEnumerator()
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x60022D9")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1B76630", Offset = "0x1B76630", Length = "0x4")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "GetEnumeratorHelper", ReturnType = typeof(global::System.Collections.IDictionaryEnumerator))]
90 private global::System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x60022DA")]
96 [global::Cpp2ILInjected.Address(RVA = "0x1B76534", Offset = "0x1B76534", Length = "0xFC")]
97 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "System.Collections.IEnumerable.GetEnumerator", ReturnType = typeof(global::System.Collections.IEnumerator))]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(string),
103 typeof(string)
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
106 private global::System.Collections.IDictionaryEnumerator GetEnumeratorHelper()
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x60022DB")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1B76634", Offset = "0x1B76634", Length = "0x70")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
116 {
117 typeof(string),
118 typeof(bool),
119 typeof(bool)
120 }, ReturnType = typeof(object))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
122 public override string GetString(string key)
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x60022DC")]
128 [global::Cpp2ILInjected.Address(RVA = "0x1B76F0C", Offset = "0x1B76F0C", Length = "0x7C")]
129 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
132 {
133 typeof(string),
134 typeof(bool),
135 typeof(bool)
136 }, ReturnType = typeof(object))]
137 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
138 public override string GetString(string key, bool ignoreCase)
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x60022DD")]
144 [global::Cpp2ILInjected.Address(RVA = "0x1B76F88", Offset = "0x1B76F88", Length = "0xC")]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
147 {
148 typeof(string),
149 typeof(bool),
150 typeof(bool)
151 }, ReturnType = typeof(object))]
152 public override object GetObject(string key)
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x60022DE")]
158 [global::Cpp2ILInjected.Address(RVA = "0x1B76F94", Offset = "0x1B76F94", Length = "0xC")]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(bool),
164 typeof(bool)
165 }, ReturnType = typeof(object))]
166 public override object GetObject(string key, bool ignoreCase)
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x60022DF")]
172 [global::Cpp2ILInjected.Address(RVA = "0x1B766A4", Offset = "0x1B766A4", Length = "0x868")]
173 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
174 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "GetString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "GetString", MemberParameters = new object[]
176 {
177 typeof(string),
178 typeof(bool)
179 }, ReturnType = typeof(string))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(object))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
182 {
183 typeof(string),
184 typeof(bool)
185 }, ReturnType = typeof(object))]
186 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
188 {
189 typeof(object),
190 typeof(ref bool)
191 }, ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = "TryGetValue", MemberParameters = new object[]
193 {
194 typeof(object),
195 typeof(ref ResourceLocator)
196 }, ReturnType = typeof(bool))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = "FindPosForResource", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = "LoadString", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = "LoadObject", MemberParameters = new object[]
200 {
201 typeof(int),
203 }, ReturnType = typeof(object))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = "set_Item", MemberParameters = new object[]
205 {
206 typeof(object),
207 typeof(ResourceLocator)
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Collections.Generic.IEqualityComparer<object>) }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = "GetEnumeratorInternal", ReturnType = typeof(ResourceReader.ResourceEnumerator))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader.ResourceEnumerator), Member = "get_Key", ReturnType = typeof(object))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = "Add", MemberParameters = new object[]
214 {
215 typeof(object),
216 typeof(ResourceLocator)
217 }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeResourceSet), Member = "ResolveResourceLocator", MemberParameters = new object[]
219 {
220 typeof(ResourceLocator),
221 typeof(string),
222 typeof(global::System.Collections.Generic.Dictionary<string, ResourceLocator>),
223 typeof(bool)
224 }, ReturnType = typeof(object))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
226 {
227 typeof(string),
228 typeof(string)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 43)]
232 private object GetObject(string key, bool ignoreCase, bool isString)
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x60022E0")]
238 [global::Cpp2ILInjected.Address(RVA = "0x1B7777C", Offset = "0x1B7777C", Length = "0x16C")]
239 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
240 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RuntimeResourceSet), Member = "GetObject", MemberParameters = new object[]
241 {
242 typeof(string),
243 typeof(bool),
244 typeof(bool)
245 }, ReturnType = typeof(object))]
246 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
248 {
249 typeof(object),
250 typeof(ref bool)
251 }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ResourceReader), Member = "LoadObject", MemberParameters = new object[]
253 {
254 typeof(int),
256 }, ReturnType = typeof(object))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.Dictionary<object, ResourceLocator>), Member = "set_Item", MemberParameters = new object[]
259 {
260 typeof(object),
261 typeof(ResourceLocator)
262 }, ReturnType = typeof(void))]
263 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
264 private object ResolveResourceLocator(ResourceLocator resLocation, string key, global::System.Collections.Generic.Dictionary<string, ResourceLocator> copyOfCache, bool keyInWrongCase)
265 {
266 throw null;
267 }
268
269 [global::Cpp2ILInjected.Token(Token = "0x4001317")]
270 internal const int Version = 2;
271
272 [global::Cpp2ILInjected.Token(Token = "0x4001318")]
273 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
274 private global::System.Collections.Generic.Dictionary<string, ResourceLocator> _resCache;
275
276 [global::Cpp2ILInjected.Token(Token = "0x4001319")]
277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
279
280 [global::Cpp2ILInjected.Token(Token = "0x400131A")]
281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
282 private global::System.Collections.Generic.Dictionary<string, ResourceLocator> _caseInsensitiveTable;
283
284 [global::Cpp2ILInjected.Token(Token = "0x400131B")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
287 }
288}
class f__AnonymousType0<< Count > j__TPar
override object GetObject(string key)
object ResolveResourceLocator(ResourceLocator resLocation, string key, global::System.Collections.Generic.Dictionary< string, ResourceLocator > copyOfCache, bool keyInWrongCase)
global::System.Collections.Generic.Dictionary< string, ResourceLocator > _caseInsensitiveTable
global::System.Collections.IDictionaryEnumerator GetEnumeratorHelper()
override string GetString(string key)
global::System.Collections.Generic.Dictionary< string, ResourceLocator > _resCache
override object GetObject(string key, bool ignoreCase)
RuntimeResourceSet(global::System.IO.Stream stream)
object GetObject(string key, bool ignoreCase, bool isString)
override global::System.Collections.IDictionaryEnumerator GetEnumerator()
override void Dispose(bool disposing)
override string GetString(string key, bool ignoreCase)