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
UnitySerializationHolder.cs
Go to the documentation of this file.
1using System;
7
8namespace System
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000161")]
11 [global::System.Serializable]
12 internal class UnitySerializationHolder : global::System.Runtime.Serialization.ISerializable, global::System.Runtime.Serialization.IObjectReference
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6000E36")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1C75F88", Offset = "0x1C75F88", Length = "0x39C")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.UnitySerializationHolder), Member = "GetUnitySerializationInfo", MemberParameters = new object[]
18 {
19 typeof(global::System.Runtime.Serialization.SerializationInfo),
20 typeof(global::System.RuntimeType)
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<int>), Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_HasElementType", ReturnType = typeof(bool))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsArray", ReturnType = typeof(bool))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsPointer", ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "get_IsByRef", ReturnType = typeof(bool))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<int>), Member = "ToArray", ReturnType = "T[]")]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
31 {
32 typeof(string),
33 typeof(object),
34 typeof(global::System.Type)
35 }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
37 internal static global::System.RuntimeType AddElementTypes(global::System.Runtime.Serialization.SerializationInfo info, global::System.RuntimeType type)
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6000E37")]
43 [global::Cpp2ILInjected.Address(RVA = "0x1C76324", Offset = "0x1C76324", Length = "0xC4")]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.UnitySerializationHolder), Member = "GetRealObject", MemberParameters = new object[] { typeof(global::System.Runtime.Serialization.StreamingContext) }, ReturnType = typeof(object))]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
48 internal global::System.Type MakeElementTypes(global::System.Type type)
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6000E38")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1C763E8", Offset = "0x1C763E8", Length = "0x154")]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DBNull), Member = "GetObjectData", MemberParameters = new object[]
56 {
57 typeof(global::System.Runtime.Serialization.SerializationInfo),
58 typeof(global::System.Runtime.Serialization.StreamingContext)
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "SetType", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
64 {
65 typeof(string),
66 typeof(object),
67 typeof(global::System.Type)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(int)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
75 {
76 typeof(string),
77 typeof(object)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
80 internal static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, int unityType)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x6000E39")]
86 [global::Cpp2ILInjected.Address(RVA = "0x1C7653C", Offset = "0x1C7653C", Length = "0x380")]
87 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.RuntimeType), Member = "GetObjectData", MemberParameters = new object[]
89 {
90 typeof(global::System.Runtime.Serialization.SerializationInfo),
91 typeof(global::System.Runtime.Serialization.StreamingContext)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetRootElementType", ReturnType = typeof(global::System.Type))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnitySerializationHolder), Member = "AddElementTypes", MemberParameters = new object[]
96 {
97 typeof(global::System.Runtime.Serialization.SerializationInfo),
98 typeof(global::System.RuntimeType)
99 }, ReturnType = typeof(global::System.RuntimeType))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "SetType", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
103 {
104 typeof(string),
105 typeof(int)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
108 {
109 typeof(string),
110 typeof(object),
111 typeof(global::System.Type)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.RuntimeType), Member = "GetRuntimeAssembly", ReturnType = typeof(global::System.Reflection.RuntimeAssembly))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
115 internal static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, global::System.RuntimeType type)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x6000E3A")]
121 [global::Cpp2ILInjected.Address(RVA = "0x1C768BC", Offset = "0x1C768BC", Length = "0x188")]
122 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Empty), Member = "GetObjectData", MemberParameters = new object[]
124 {
125 typeof(global::System.Runtime.Serialization.SerializationInfo),
126 typeof(global::System.Runtime.Serialization.StreamingContext)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.RuntimeAssembly), Member = "GetObjectData", MemberParameters = new object[]
129 {
130 typeof(global::System.Runtime.Serialization.SerializationInfo),
131 typeof(global::System.Runtime.Serialization.StreamingContext)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.RuntimeModule), Member = "GetObjectData", MemberParameters = new object[]
134 {
135 typeof(global::System.Runtime.Serialization.SerializationInfo),
136 typeof(global::System.Runtime.Serialization.StreamingContext)
137 }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "SetType", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(object),
145 typeof(global::System.Type)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
148 {
149 typeof(string),
150 typeof(int)
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.Assembly), Member = "op_Equality", MemberParameters = new object[]
153 {
154 typeof(global::System.Reflection.Assembly),
155 typeof(global::System.Reflection.Assembly)
156 }, ReturnType = typeof(bool))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "AddValue", MemberParameters = new object[]
158 {
159 typeof(string),
160 typeof(object)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
163 internal static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, int unityType, string data, global::System.Reflection.RuntimeAssembly assembly)
164 {
165 throw null;
166 }
167
168 [global::Cpp2ILInjected.Token(Token = "0x6000E3B")]
169 [global::Cpp2ILInjected.Address(RVA = "0x1C76A44", Offset = "0x1C76A44", Length = "0x3F0")]
170 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetInt32", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetValue", MemberParameters = new object[]
175 {
176 typeof(string),
177 typeof(global::System.Type)
178 }, ReturnType = typeof(object))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationInfo), Member = "GetString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
182 internal UnitySerializationHolder(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
183 {
184 throw null;
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x6000E3C")]
188 [global::Cpp2ILInjected.Address(RVA = "0x1C76E34", Offset = "0x1C76E34", Length = "0x80")]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.UnitySerializationHolder), Member = "GetRealObject", MemberParameters = new object[] { typeof(global::System.Runtime.Serialization.StreamingContext) }, ReturnType = typeof(object))]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[]
192 {
193 typeof(string),
194 typeof(object[])
195 }, ReturnType = typeof(string))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
198 private void ThrowInsufficientInformation(string field)
199 {
200 throw null;
201 }
202
203 [global::Cpp2ILInjected.Token(Token = "0x6000E3D")]
204 [global::Cpp2ILInjected.Address(RVA = "0x1C76F24", Offset = "0x1C76F24", Length = "0x50")]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
208 public virtual void GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
209 {
210 throw null;
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x6000E3E")]
214 [global::Cpp2ILInjected.Address(RVA = "0x1C76F74", Offset = "0x1C76F74", Length = "0x48C")]
215 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.Assembly), Member = "Load", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Reflection.Assembly))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.Module), Member = "op_Equality", MemberParameters = new object[]
219 {
220 typeof(global::System.Reflection.Module),
221 typeof(global::System.Reflection.Module)
222 }, ReturnType = typeof(bool))]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[]
224 {
225 typeof(string),
226 typeof(object[])
227 }, ReturnType = typeof(string))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.Serialization.SerializationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.MethodBase), Member = "op_Equality", MemberParameters = new object[]
230 {
231 typeof(global::System.Reflection.MethodBase),
232 typeof(global::System.Reflection.MethodBase)
233 }, ReturnType = typeof(bool))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
235 {
236 typeof(global::System.Type),
237 typeof(global::System.Type)
238 }, ReturnType = typeof(bool))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Reflection.MethodBase), Member = "op_Inequality", MemberParameters = new object[]
240 {
241 typeof(global::System.Reflection.MethodBase),
242 typeof(global::System.Reflection.MethodBase)
243 }, ReturnType = typeof(bool))]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnitySerializationHolder), Member = "MakeElementTypes", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(global::System.Type))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnitySerializationHolder), Member = "ThrowInsufficientInformation", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
248 public virtual object GetRealObject(global::System.Runtime.Serialization.StreamingContext context)
249 {
250 throw null;
251 }
252
253 [global::Cpp2ILInjected.Token(Token = "0x40005D9")]
254 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
255 private global::System.Type[] m_instantiation;
256
257 [global::Cpp2ILInjected.Token(Token = "0x40005DA")]
258 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
259 private int[] m_elementTypes;
260
261 [global::Cpp2ILInjected.Token(Token = "0x40005DB")]
262 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
264
265 [global::Cpp2ILInjected.Token(Token = "0x40005DC")]
266 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
267 private global::System.Type m_declaringType;
268
269 [global::Cpp2ILInjected.Token(Token = "0x40005DD")]
270 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
271 private global::System.Reflection.MethodBase m_declaringMethod;
272
273 [global::Cpp2ILInjected.Token(Token = "0x40005DE")]
274 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
275 private string m_data;
276
277 [global::Cpp2ILInjected.Token(Token = "0x40005DF")]
278 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
279 private string m_assemblyName;
280
281 [global::Cpp2ILInjected.Token(Token = "0x40005E0")]
282 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
283 private int m_unityType;
284 }
285}
class f__AnonymousType0<< Count > j__TPar
global::System.Type MakeElementTypes(global::System.Type type)
static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, int unityType, string data, global::System.Reflection.RuntimeAssembly assembly)
global::System.Reflection.MethodBase m_declaringMethod
virtual object GetRealObject(global::System.Runtime.Serialization.StreamingContext context)
static global::System.RuntimeType AddElementTypes(global::System.Runtime.Serialization.SerializationInfo info, global::System.RuntimeType type)
UnitySerializationHolder(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, global::System.RuntimeType type)
static void GetUnitySerializationInfo(global::System.Runtime.Serialization.SerializationInfo info, int unityType)
virtual void GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)