Beispiel #1
0
 private static void RateRequest(Type item)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (m_SerializerIssuer == null)
     {
         m_SerializerIssuer = ModelInstanceExpression.ManageIssuer(item, new string[2]
         {
             "Key",
             "Value"
         });
     }
 }
Beispiel #2
0
 private static Type IncludeClass(Type info)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     Attribute[] array = ResolverErrorFilter.ForgotReader(info, null, controlopen: true);
     foreach (Attribute attribute in array)
     {
         Type type = attribute.GetType();
         if (string.Equals(type.FullName, "System.ComponentModel.DataAnnotations.MetadataTypeAttribute", StringComparison.Ordinal))
         {
             if (_RefProperty == null)
             {
                 _RefProperty = ModelInstanceExpression.ManageIssuer(type, new string[1]
                 {
                     "MetadataClassType"
                 });
             }
             return((Type)_RefProperty.CancelIssuer(attribute, "MetadataClassType"));
         }
     }
     return(null);
 }