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
UnitySerializationHolder.cs
Go to the documentation of this file.
1using System;
5
6namespace System
7{
8 // Token: 0x02000161 RID: 353
11 {
12 // Token: 0x06000E36 RID: 3638 RVA: 0x0001EE70 File Offset: 0x0001D070
14 {
15 if (info != null)
16 {
17 }
18 throw new InvalidCastException();
19 }
20
21 // Token: 0x06000E37 RID: 3639 RVA: 0x0001EE88 File Offset: 0x0001D088
22 internal Type MakeElementTypes(Type type)
23 {
24 int[] elementTypes = this.m_elementTypes;
25 return type;
26 }
27
28 // Token: 0x06000E38 RID: 3640 RVA: 0x0001EEB0 File Offset: 0x0001D0B0
30 {
31 if (!true)
32 {
33 }
34 Type type;
35 info.SetType(type);
36 long num = 0L;
37 Type type2;
38 info.AddValue("Data", num, type2);
39 info.AddValue("UnityType", unityType);
40 }
41
42 // Token: 0x06000E39 RID: 3641 RVA: 0x0001EEE4 File Offset: 0x0001D0E4
44 {
47 Type type2;
48 info.SetType(type2);
49 int num = 7;
50 info.AddValue("UnityType", num);
51 Type type3;
52 info.AddValue("DeclaringMethod", runtimeType, type3);
53 Type type4;
54 info.AddValue("DeclaringType", runtimeType, type4);
55 }
56
57 // Token: 0x06000E3A RID: 3642 RVA: 0x0001EF50 File Offset: 0x0001D150
58 internal static void GetUnitySerializationInfo(SerializationInfo info, int unityType, string data, RuntimeAssembly assembly)
59 {
60 if (!true)
61 {
62 }
63 Type type;
64 info.SetType(type);
65 Type type2;
66 info.AddValue("Data", data, type2);
67 info.AddValue("UnityType", unityType);
68 }
69
70 // Token: 0x06000E3B RID: 3643 RVA: 0x0001EF90 File Offset: 0x0001D190
72 {
73 while (info == null)
74 {
75 }
76 int num;
77 this.m_unityType = num;
78 Type type;
79 if (info.GetValue("DeclaringMethod", type) != null)
80 {
81 }
82 }
83
84 // Token: 0x06000E3C RID: 3644 RVA: 0x0001F060 File Offset: 0x0001D260
85 private void ThrowInsufficientInformation(string field)
86 {
88 }
89
90 // Token: 0x06000E3D RID: 3645 RVA: 0x0000207A File Offset: 0x0000027A
92 {
93 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
94 }
95
96 // Token: 0x06000E3E RID: 3646 RVA: 0x0001F074 File Offset: 0x0001D274
97 public virtual object GetRealObject(StreamingContext context)
98 {
99 int unityType = this.m_unityType;
100 return "Data";
101 }
102
103 // Token: 0x040005D9 RID: 1497
105
106 // Token: 0x040005DA RID: 1498
107 private int[] m_elementTypes;
108
109 // Token: 0x040005DB RID: 1499
111
112 // Token: 0x040005DC RID: 1500
114
115 // Token: 0x040005DD RID: 1501
117
118 // Token: 0x040005DE RID: 1502
119 private string m_data;
120
121 // Token: 0x040005DF RID: 1503
122 private string m_assemblyName;
123
124 // Token: 0x040005E0 RID: 1504
125 private int m_unityType;
126 }
127}
class f__AnonymousType0<< Count > j__TPar
Type GetRootElementType()
Definition Type.cs:129
static void GetUnitySerializationInfo(SerializationInfo info, RuntimeType type)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
virtual object GetRealObject(StreamingContext context)
static void GetUnitySerializationInfo(SerializationInfo info, int unityType)
static void GetUnitySerializationInfo(SerializationInfo info, int unityType, string data, RuntimeAssembly assembly)
UnitySerializationHolder(SerializationInfo info, StreamingContext context)
static RuntimeType AddElementTypes(SerializationInfo info, RuntimeType type)