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

◆ CalculatePropertyValues()

bool Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues ( JsonWriter writer,
object value,
JsonContainerContract contract,
JsonProperty member,
JsonProperty property,
[Out] JsonContract memberContract,
[Out] object memberValue )
inlineprivate

Definition at line 351 of file JsonSerializerInternalWriter.cs.

352 {
353 do
354 {
355 if (property.<Ignored>k__BackingField)
356 {
357 }
358 }
359 while (!property.<Readable>k__BackingField);
360 bool flag = this.ShouldSerialize(writer, property, value);
361 bool flag2 = this.IsSpecified(writer, property, value);
362 if (property.<PropertyContract>k__BackingField == null)
363 {
364 IContractResolver contractResolver = this.Serializer._contractResolver;
365 Type propertyType = property._propertyType;
366 property.<PropertyContract>k__BackingField = contractResolver;
367 }
368 IValueProvider <ValueProvider>k__BackingField = property.<ValueProvider>k__BackingField;
369 if (!property.<PropertyContract>k__BackingField.IsSealed)
370 {
371 }
372 property.WritePropertyName(writer);
373 if (contract != null)
374 {
375 }
376 bool flag3;
377 return flag3;
378 }
class f__AnonymousType0<< Count > j__TPar
IContractResolver _contractResolver
bool IsSpecified(JsonWriter writer, JsonProperty property, object target)
bool ShouldSerialize(JsonWriter writer, JsonProperty property, object target)

References Newtonsoft.Json.JsonSerializer._contractResolver, Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.IsSpecified(), j__TPar, Newtonsoft.Json.Serialization.JsonSerializerInternalBase.Serializer, Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.ShouldSerialize(), and System.value.