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

◆ JsonArrayContract()

Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract ( Type underlyingType)
inline

Definition at line 168 of file JsonArrayContract.cs.

170 {
172 int num = 2;
174 bool isArray = createdType.IsArray;
175 this.<IsArray>k__BackingField = num != 0;
176 Type <UnderlyingType>k__BackingField = this.<UnderlyingType>k__BackingField;
177 if (num == 0)
178 {
179 }
181 int num2 = 1;
184 if (num2 == 0)
185 {
186 }
188 if (type == null || type != null)
189 {
190 bool flag = this.<IsArray>k__BackingField;
191 Type type2;
193 if (flag)
194 {
195 Type <UnderlyingType>k__BackingField2 = this.<UnderlyingType>k__BackingField;
196 }
197 return;
198 }
199 throw new ArrayTypeMismatchException();
200 }
class f__AnonymousType0<< Count > j__TPar
bool IsArray
Definition Type.cs:356

References Newtonsoft.Json.Serialization.JsonContract._createdType, Newtonsoft.Json.Serialization.JsonArrayContract.CollectionItemType, Newtonsoft.Json.Utilities.ReflectionUtils.GetCollectionItemType(), Newtonsoft.Json.Serialization.JsonArrayContract.IsArray, j__TPar, Newtonsoft.Json.Serialization.JsonArrayContract.k__BackingField, and Newtonsoft.Json.Serialization.JsonContract.UnderlyingType.