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

◆ ValueEquals()

static bool Newtonsoft.Json.Utilities.MiscellaneousUtils.ValueEquals ( object objA,
object objB )
inlinestatic

Definition at line 14 of file MiscellaneousUtils.cs.

15 {
16 while (objA == null)
17 {
18 }
19 Type type = objA.GetType();
20 if (!true)
21 {
22 }
23 bool flag = ConvertUtils.IsInteger(type);
24 if (!true)
25 {
26 }
27 bool flag2 = ConvertUtils.IsInteger(objA);
28 if (!true)
29 {
30 }
33 decimal num = Convert.ToDecimal(objA, currentCulture2);
34 return num.Equals(num);
35 }
class f__AnonymousType0<< Count > j__TPar
static decimal ToDecimal(object value, IFormatProvider provider)
Definition Convert.cs:2302
static CultureInfo CurrentCulture
new Type GetType()
Definition Type.cs:287

References System.Globalization.CultureInfo.CurrentCulture, System.Type.GetType(), Newtonsoft.Json.Utilities.ConvertUtils.IsInteger(), j__TPar, and System.Convert.ToDecimal().

Referenced by Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ShouldSetPropertyValue(), Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.ShouldWriteDynamicProperty(), and Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.ShouldWriteProperty().