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

◆ ReadJson()

override object Newtonsoft.Json.Converters.BinaryConverter.ReadJson ( JsonReader reader,
Type objectType,
object existingValue,
JsonSerializer serializer )
inline

Definition at line 55 of file BinaryConverter.cs.

56 {
57 bool flag = ReflectionUtils.IsNullable(objectType);
58 bool flag2 = ReflectionUtils.IsNullableType(objectType);
60 bool flag3 = underlyingType.AssignableToTypeName("System.Data.Linq.Binary");
61 this.EnsureReflectionObject(underlyingType);
62 ObjectConstructor<object> <Creator>k__BackingField = this._reflectionObject.<Creator>k__BackingField;
63 byte[] array;
64 if (array == null || array != null)
65 {
67 return "Cannot convert null value to {0}.";
68 }
70 }
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
static Type GetUnderlyingType(Type nullableType)
Definition Nullable.2.cs:9

References Newtonsoft.Json.Converters.BinaryConverter._reflectionObject, System.array, Newtonsoft.Json.Converters.BinaryConverter.EnsureReflectionObject(), System.Nullable< T >.GetUnderlyingType(), System.Globalization.CultureInfo.InvariantCulture, Newtonsoft.Json.Utilities.ReflectionUtils.IsNullable(), Newtonsoft.Json.Utilities.ReflectionUtils.IsNullableType(), and j__TPar.