Exemple #1
0
 // Token: 0x060009FD RID: 2557 RVA: 0x00038754 File Offset: 0x00036954
 private static Type smethod_11(Type type_0)
 {
     foreach (Attribute attribute in Class90.smethod_34(type_0, null, true))
     {
         Type type = attribute.GetType();
         if (string.Equals(type.FullName, "System.ComponentModel.DataAnnotations.MetadataTypeAttribute", StringComparison.Ordinal))
         {
             if (Class124.class86_0 == null)
             {
                 Class124.class86_0 = Class86.Create(type, new string[]
                 {
                     "MetadataClassType"
                 });
             }
             return((Type)Class124.class86_0.method_2(attribute, "MetadataClassType"));
         }
     }
     return(null);
 }