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

◆ PopulateList()

object Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList ( IList list,
JsonReader reader,
JsonArrayContract contract,
JsonProperty containerProperty,
string id )
inlineprivate

Definition at line 813 of file JsonSerializerInternalReader.cs.

814 {
815 JsonConverter jsonConverter;
816 for (;;)
817 {
818 if (list != null)
819 {
820 }
821 if (id != null)
822 {
823 }
824 reader.Skip();
825 if (contract._itemContract == null)
826 {
827 Type <CollectionItemType>k__BackingField = contract.<CollectionItemType>k__BackingField;
828 JsonContract contractSafe = this.GetContractSafe(<CollectionItemType>k__BackingField);
830 JsonContract itemContract = contract._itemContract;
831 }
832 JsonContract itemContract2 = contract._itemContract;
833 if (jsonConverter != null)
834 {
835 break;
836 }
837 Type <CollectionItemType>k__BackingField2 = contract.<CollectionItemType>k__BackingField;
838 JsonContract itemContract3 = contract._itemContract;
839 if (reader == null)
840 {
841 goto Block_2;
842 }
843 }
844 Type <CollectionItemType>k__BackingField3 = contract.<CollectionItemType>k__BackingField;
845 long num = 0L;
846 return this.DeserializeConvertable(jsonConverter, reader, <CollectionItemType>k__BackingField3, num);
847 Block_2:
848 throw new OutOfMemoryException();
849 }
class f__AnonymousType0<< Count > j__TPar
object DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, object existingValue)

References Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(), Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe(), j__TPar, System.L, System.list, and Newtonsoft.Json.JsonReader.Skip().

Referenced by Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList().