public abstract void Visit(Class194 c);
public override void Visit(Class194 c) { }
public override bool CanConvert(Type objectType) { Type type = Class194.smethod_10(objectType) ? Nullable.GetUnderlyingType(objectType) : objectType; return(type.smethod_7()); }
private static bool smethod_6(MemberInfo memberInfo_0) { return(!Class194.smethod_21(memberInfo_0)); }
internal static bool smethod_1(Type type_0) { return((typeof(IConvertible).IsAssignableFrom(type_0) || (Class194.smethod_10(type_0) && typeof(IConvertible).IsAssignableFrom(Nullable.GetUnderlyingType(type_0)))) && !typeof(JToken).IsAssignableFrom(type_0)); }
private void method_7(JsonContract jsonContract_0) { JsonContainerAttribute attribute = Class139.smethod_0(jsonContract_0.type_0); if (attribute != null) { jsonContract_0.IsReference = attribute.nullable_0; } else { DataContractAttribute attribute2 = Class139.smethod_5(jsonContract_0.type_0); if ((attribute2 != null) && attribute2.IsReference) { jsonContract_0.IsReference = true; } } jsonContract_0.Converter = this.ResolveContractConverter(jsonContract_0.type_0); jsonContract_0.JsonConverter_0 = JsonSerializer.smethod_1(ilist_0, jsonContract_0.type_0); if (Class194.smethod_6(jsonContract_0.CreatedType, true) || jsonContract_0.CreatedType.smethod_12()) { jsonContract_0.DefaultCreator = this.method_6(jsonContract_0.CreatedType); jsonContract_0.DefaultCreatorNonPublic = !jsonContract_0.CreatedType.smethod_12() && (Class194.smethod_7(jsonContract_0.CreatedType) == null); } this.method_8(jsonContract_0, jsonContract_0.type_0); }