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
JsonPosition.cs
Go to the documentation of this file.
1using System;
5using System.Text;
12
13namespace Newtonsoft.Json
14{
15 [Preserve]
16 [global::Cpp2ILInjected.Token(Token = "0x2000018")]
17 internal struct JsonPosition
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x600003C")]
20 [global::Cpp2ILInjected.Address(RVA = "0x1CB6A6C", Offset = "0x1CB6A6C", Length = "0x7C")]
21 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonReader), Member = "Push", MemberParameters = new object[] { typeof(JsonContainerType) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonWriter), Member = "Push", MemberParameters = new object[] { typeof(JsonContainerType) }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JToken), Member = "get_Path", ReturnType = typeof(string))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x600003D")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1CB6AF8", Offset = "0x1CB6AF8", Length = "0x8C")]
34 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonPosition), Member = "BuildPath", MemberParameters = new object[]
36 {
39 }, ReturnType = typeof(string))]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathUtils), Member = "IntLength", MemberParameters = new object[] { typeof(ulong) }, ReturnType = typeof(int))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
44 internal int CalculateLength()
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x600003E")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1CB6B84", Offset = "0x1CB6B84", Length = "0x158")]
51 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonPosition), Member = "BuildPath", MemberParameters = new object[]
53 {
56 }, ReturnType = typeof(string))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(StringBuilder))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(StringBuilder))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOfAny", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(int))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(StringBuilder))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
64 internal void WriteTo(StringBuilder sb)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600003F")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1CB6AE8", Offset = "0x1CB6AE8", Length = "0x10")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 internal static bool TypeHasIndex(JsonContainerType type)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6000040")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1CB6CDC", Offset = "0x1CB6CDC", Length = "0x294")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonReader), Member = "get_Path", ReturnType = typeof(string))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonWriter), Member = "get_ContainerPath", ReturnType = typeof(string))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonWriter), Member = "get_Path", ReturnType = typeof(string))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JToken), Member = "get_Path", ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<JsonPosition>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonPosition), Member = "CalculateLength", ReturnType = typeof(int))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<JsonPosition>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<JsonPosition>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JsonPosition), Member = "WriteTo", MemberParameters = new object[] { typeof(StringBuilder) }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<JsonPosition>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
94 internal static string BuildPath(List<JsonPosition> positions, JsonPosition? currentPosition)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x6000041")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1CB6700", Offset = "0x1CB6700", Length = "0x324")]
101 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonException), Member = "Create", MemberParameters = new object[]
103 {
105 typeof(string),
106 typeof(string)
107 }, ReturnType = typeof(JsonException))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonWriterException), Member = "Create", MemberParameters = new object[]
109 {
110 typeof(string),
111 typeof(string),
113 }, ReturnType = typeof(JsonWriterException))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonReaderException), Member = "Create", MemberParameters = new object[]
115 {
117 typeof(string),
118 typeof(string),
120 }, ReturnType = typeof(JsonReaderException))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializationException), Member = "Create", MemberParameters = new object[]
122 {
124 typeof(string),
125 typeof(string),
127 }, ReturnType = typeof(JsonSerializationException))]
128 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalBase), Member = "IsErrorHandled", MemberParameters = new object[]
129 {
130 typeof(object),
132 typeof(object),
134 typeof(string),
136 }, ReturnType = typeof(bool))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ReadMetadataPropertiesToken", MemberParameters = new object[]
138 {
140 typeof(ref Type),
145 typeof(object),
146 typeof(ref object),
147 typeof(ref string)
148 }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ReadMetadataProperties", MemberParameters = new object[]
150 {
152 typeof(ref Type),
157 typeof(object),
158 typeof(ref object),
159 typeof(ref string)
160 }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ResolveTypeName", MemberParameters = new object[]
162 {
164 typeof(ref Type),
169 typeof(string)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "SetPropertyValue", MemberParameters = new object[]
172 {
178 typeof(object)
179 }, ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "AddReference", MemberParameters = new object[]
181 {
183 typeof(string),
184 typeof(object)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "OnDeserializing", MemberParameters = new object[]
187 {
190 typeof(object)
191 }, ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "OnDeserialized", MemberParameters = new object[]
193 {
196 typeof(object)
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "CreateISerializable", MemberParameters = new object[]
199 {
203 typeof(string)
204 }, ReturnType = typeof(object))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "CreateObjectUsingCreatorWithParameters", MemberParameters = new object[]
206 {
210 typeof(ObjectConstructor<object>),
211 typeof(string)
212 }, ReturnType = typeof(object))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "DeserializeConvertable", MemberParameters = new object[]
214 {
217 typeof(Type),
218 typeof(object)
219 }, ReturnType = typeof(object))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ResolvePropertyAndCreatorValues", MemberParameters = new object[]
221 {
225 typeof(Type)
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "PopulateObject", MemberParameters = new object[]
228 {
229 typeof(object),
233 typeof(string)
234 }, ReturnType = typeof(object))]
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalReader), Member = "ShouldDeserialize", MemberParameters = new object[]
236 {
239 typeof(object)
240 }, ReturnType = typeof(bool))]
241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "CheckForCircularReference", MemberParameters = new object[]
242 {
244 typeof(object),
249 }, ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "WriteReference", MemberParameters = new object[]
251 {
253 typeof(object)
254 }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "OnSerializing", MemberParameters = new object[]
256 {
259 typeof(object)
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "OnSerialized", MemberParameters = new object[]
262 {
265 typeof(object)
266 }, ReturnType = typeof(void))]
267 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "WriteReferenceIdProperty", MemberParameters = new object[]
268 {
270 typeof(Type),
271 typeof(object)
272 }, ReturnType = typeof(void))]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "WriteTypeProperty", MemberParameters = new object[]
274 {
276 typeof(Type)
277 }, ReturnType = typeof(void))]
278 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "SerializeConvertable", MemberParameters = new object[]
279 {
282 typeof(object),
286 }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "ShouldSerialize", MemberParameters = new object[]
288 {
291 typeof(object)
292 }, ReturnType = typeof(bool))]
293 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JsonSerializerInternalWriter), Member = "IsSpecified", MemberParameters = new object[]
294 {
297 typeof(object)
298 }, ReturnType = typeof(bool))]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 30)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Environment), Member = "get_NewLine", ReturnType = typeof(string))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "EndsWith", MemberParameters = new object[]
302 {
303 typeof(string),
305 }, ReturnType = typeof(bool))]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Trim", ReturnType = typeof(string))]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringUtils), Member = "EndsWith", MemberParameters = new object[]
308 {
309 typeof(string),
310 typeof(char)
311 }, ReturnType = typeof(bool))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
313 {
314 typeof(string),
315 typeof(string)
316 }, ReturnType = typeof(string))]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
318 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringUtils), Member = "FormatWith", MemberParameters = new object[]
319 {
320 typeof(string),
322 typeof(object)
323 }, ReturnType = typeof(string))]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringUtils), Member = "FormatWith", MemberParameters = new object[]
325 {
326 typeof(string),
328 typeof(object),
329 typeof(object)
330 }, ReturnType = typeof(string))]
331 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
332 internal static string FormatMessage(IJsonLineInfo lineInfo, string path, string message)
333 {
334 throw null;
335 }
336
337 // Note: this type is marked as 'beforefieldinit'.
338 [global::Cpp2ILInjected.Token(Token = "0x6000042")]
339 [global::Cpp2ILInjected.Address(RVA = "0x1CB6F70", Offset = "0x1CB6F70", Length = "0x94")]
340 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
342 {
343 typeof(Array),
345 }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
348 {
349 throw null;
350 }
351
352 [global::Cpp2ILInjected.Token(Token = "0x400002E")]
353 private static readonly char[] SpecialCharacters;
354
355 [global::Cpp2ILInjected.Token(Token = "0x400002F")]
356 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
358
359 [global::Cpp2ILInjected.Token(Token = "0x4000030")]
360 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
361 internal int Position;
362
363 [global::Cpp2ILInjected.Token(Token = "0x4000031")]
364 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
365 internal string PropertyName;
366
367 [global::Cpp2ILInjected.Token(Token = "0x4000032")]
368 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
369 internal bool HasIndex;
370 }
371}
class f__AnonymousType0<< Count > j__TPar
void WriteTo(StringBuilder sb)
JsonPosition(JsonContainerType type)
static bool TypeHasIndex(JsonContainerType type)
static readonly char[] SpecialCharacters
static string FormatMessage(IJsonLineInfo lineInfo, string path, string message)
static string BuildPath(List< JsonPosition > positions, JsonPosition? currentPosition)