public static DataMemberAttribute smethod_6(MemberInfo memberInfo_0) { if (memberInfo_0.smethod_1() == MemberTypes.Field) { return(Class140 <DataMemberAttribute> .smethod_0(memberInfo_0)); } PropertyInfo info = (PropertyInfo)memberInfo_0; DataMemberAttribute attribute = Class140 <DataMemberAttribute> .smethod_0(info); if ((attribute == null) && info.smethod_0()) { for (Type type = info.DeclaringType; attribute == null; type = type.smethod_6()) { if (type == null) { return(attribute); } PropertyInfo info2 = (PropertyInfo)Class194.smethod_34(type, info); if ((info2 != null) && info2.smethod_0()) { attribute = Class140 <DataMemberAttribute> .smethod_0(info2); } } } return(attribute); }
public static DataContractAttribute smethod_5(Type type_1) { for (Type type = type_1; type != null; type = type.smethod_6()) { DataContractAttribute attribute = Class140 <DataContractAttribute> .smethod_0(type); if (attribute != null) { return(attribute); } } return(null); }
public static JsonContainerAttribute smethod_0(Type type_1) { return(Class140 <JsonContainerAttribute> .smethod_0(type_1)); }
public static SerializableAttribute smethod_4(Type type_1) { return(Class140 <SerializableAttribute> .smethod_0(type_1)); }