// Token: 0x06000504 RID: 1284 RVA: 0x00005577 File Offset: 0x00003777 public static Type smethod_0(Type type_0) { if (!type_0.IsByRef && !type_0.IsArray && !type_0.IsPointer) { return(type_0); } return(Class102.smethod_0(type_0.GetElementType())); }
// Token: 0x060009F4 RID: 2548 RVA: 0x000385E4 File Offset: 0x000367E4 public static DataContractAttribute smethod_2(Type type_0) { Type type = type_0; while (type != null) { DataContractAttribute dataContractAttribute = Class102 <DataContractAttribute> .smethod_0(type); if (dataContractAttribute != null) { return(dataContractAttribute); } type = type.smethod_6(); } return(null); }
// Token: 0x060009F5 RID: 2549 RVA: 0x00038614 File Offset: 0x00036814 public static DataMemberAttribute smethod_3(object object_0) { if (object_0.smethod_1() == MemberTypes.Field) { return(Class102 <DataMemberAttribute> .smethod_0(object_0)); } PropertyInfo propertyInfo = (PropertyInfo)object_0; DataMemberAttribute dataMemberAttribute = Class102 <DataMemberAttribute> .smethod_0(propertyInfo); if (dataMemberAttribute == null && propertyInfo.smethod_0()) { Type type = propertyInfo.DeclaringType; while (dataMemberAttribute == null && type != null) { PropertyInfo propertyInfo2 = (PropertyInfo)Class90.smethod_37(type, propertyInfo); if (propertyInfo2 != null && propertyInfo2.smethod_0()) { dataMemberAttribute = Class102 <DataMemberAttribute> .smethod_0(propertyInfo2); } type = type.smethod_6(); } } return(dataMemberAttribute); }
// Token: 0x060009F2 RID: 2546 RVA: 0x0000950A File Offset: 0x0000770A public static LbemhZdkgQyvmOHEhvD smethod_0 <LbemhZdkgQyvmOHEhvD>(object object_0) where LbemhZdkgQyvmOHEhvD : Attribute { return(Class102 <LbemhZdkgQyvmOHEhvD> .smethod_0(object_0)); }