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

◆ FindType()

RuntimeType System.Resources.ResourceReader.FindType ( int typeIndex)
inlineprivate

Definition at line 420 of file ResourceReader.cs.

421 {
423 MonoTypeInfo type_info = typeTable.type_info;
424 object genericCache = typeTable.GenericCache;
425 if (type_info == null)
426 {
427 }
428 BinaryReader store = this._store;
429 BinaryReader store2 = this._store;
433 if (store3 != null && store3 == null)
434 {
435 throw new ArrayTypeMismatchException();
436 }
437 long num = 0L;
438 int num2 = 6;
440 if (num == 0L)
441 {
442 if (num2 == 0)
443 {
445 }
446 string resourceString = Environment.GetResourceString("Corrupt .resources file. The specified type doesn't exist.");
447 throw new InvalidCastException();
448 }
449 throw new OutOfMemoryException();
450 }
class f__AnonymousType0<< Count > j__TPar
static string GetResourceString(string key)

References System.Resources.ResourceReader._store, System.Resources.ResourceReader._typeNamePositions, System.Resources.ResourceReader._typeTable, System.RuntimeType.GenericCache, System.Environment.GetResourceString(), j__TPar, and System.L.

Referenced by System.Resources.ResourceReader._LoadObjectV1(), System.Resources.ResourceReader.DeserializeObject(), and System.Resources.ResourceReader.LoadString().