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

◆ CanConvert()

override bool Newtonsoft.Json.Converters.StringEnumConverter.CanConvert ( Type objectType)
inline

Definition at line 79 of file StringEnumConverter.cs.

80 {
81 if (!true)
82 {
83 }
84 bool flag = ReflectionUtils.IsNullableType(objectType);
85 return Nullable.GetUnderlyingType(objectType).IsEnum();
86 }
static Type GetUnderlyingType(Type nullableType)
Definition Nullable.2.cs:9
virtual bool IsEnum
Definition Type.cs:712

References System.Nullable< T >.GetUnderlyingType(), System.Type.IsEnum, and Newtonsoft.Json.Utilities.ReflectionUtils.IsNullableType().