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

◆ ReadMetadataProperties()

bool Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties ( JsonReader reader,
Type objectType,
JsonContract contract,
JsonProperty member,
JsonContainerContract containerContract,
JsonProperty containerMember,
object existingValue,
[Out] object newValue,
[Out] string id )
inlineprivate

Definition at line 309 of file JsonSerializerInternalReader.cs.

310 {
311 reader.ReadAndAssert();
312 if (reader != null)
313 {
314 reader.ReadAndAssert();
315 if (reader == null)
316 {
317 goto IL_0029;
318 }
319 reader.ReadAndAssert();
320 reader.ReadAndAssert();
321 if (reader != null)
322 {
323 }
324 }
325 reader.ReadAndAssert();
326 IL_0029:
327 IReferenceResolver referenceResolver = this.Serializer.GetReferenceResolver();
328 reader.ReadAndAssert();
329 reader.ReadAndAssert();
330 if (referenceResolver != null)
331 {
333 Type type;
334 string text = "Resolved object reference '{0}' to {1}.".FormatWith(invariantCulture, reader, type);
335 }
337 string text2 = "JSON reference {0} property must have a string or null value.".FormatWith(invariantCulture2, "$ref");
339 return "Additional content found in JSON reference object. A JSON reference object should only have a {0} property." != null;
340 }
class f__AnonymousType0<< Count > j__TPar
IReferenceResolver GetReferenceResolver()
static CultureInfo InvariantCulture

References Newtonsoft.Json.JsonSerializer.GetReferenceResolver(), System.Globalization.CultureInfo.InvariantCulture, j__TPar, Newtonsoft.Json.JsonReader.ReadAndAssert(), Newtonsoft.Json.Serialization.JsonSerializerInternalBase.Serializer, and System.text.