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

◆ ResolveTypeName()

void Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName ( JsonReader reader,
Type objectType,
JsonContract contract,
JsonProperty member,
JsonContainerContract containerContract,
JsonProperty containerMember,
string qualifiedTypeName )
inlineprivate

Definition at line 343 of file JsonSerializerInternalReader.cs.

344 {
345 if (member != null)
346 {
347 TypeNameHandling? <TypeNameHandling>k__BackingField = member.<TypeNameHandling>k__BackingField;
348 if (<TypeNameHandling>k__BackingField != null)
349 {
350 if (<TypeNameHandling>k__BackingField == null)
351 {
352 return;
353 }
354 goto IL_0046;
355 }
356 }
357 if (containerContract != null)
358 {
359 TypeNameHandling? <ItemTypeNameHandling>k__BackingField = containerContract.<ItemTypeNameHandling>k__BackingField;
360 if (<ItemTypeNameHandling>k__BackingField != null)
361 {
362 if (<ItemTypeNameHandling>k__BackingField == null)
363 {
364 return;
365 }
366 goto IL_0046;
367 }
368 }
369 if (containerMember != null)
370 {
371 TypeNameHandling? <ItemTypeNameHandling>k__BackingField2 = containerMember.<ItemTypeNameHandling>k__BackingField;
372 if (<ItemTypeNameHandling>k__BackingField2 != null)
373 {
374 if (<ItemTypeNameHandling>k__BackingField2 == null)
375 {
376 return;
377 }
378 goto IL_0046;
379 }
380 }
381 if (this.Serializer._typeNameHandling == TypeNameHandling.None)
382 {
383 return;
384 }
385 IL_0046:
387 if (binder == null)
388 {
390 string text2;
391 string text = "Type specified in JSON '{0}' was not resolved.".FormatWith(invariantCulture, text2);
392 return;
393 }
394 if (this.TraceWriter != null)
395 {
396 return;
397 }
398 }
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture

References Newtonsoft.Json.JsonSerializer._binder, Newtonsoft.Json.JsonSerializer._typeNameHandling, System.Globalization.CultureInfo.InvariantCulture, j__TPar, Newtonsoft.Json.Serialization.JsonSerializerInternalBase.Serializer, System.text, and Newtonsoft.Json.Serialization.JsonSerializerInternalBase.TraceWriter.