public override void _0001(RecordClassDispatcher config, object col, PrototypeError dic)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (col == null)
            {
                config._0008();
                return;
            }
            ModelInstanceExpression  modelInstanceExpression  = m_ListenerIssuer.InitReader(col.GetType());
            PublisherRequestStrategy publisherRequestStrategy = dic._0001() as PublisherRequestStrategy;

            config._0002();
            config._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Key") : "Key");
            dic.InsertComposer(config, modelInstanceExpression.CancelIssuer(col, "Key"), modelInstanceExpression.SetupIssuer("Key"));
            config._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Value") : "Value");
            dic.InsertComposer(config, modelInstanceExpression.CancelIssuer(col, "Value"), modelInstanceExpression.SetupIssuer("Value"));
            config._0011();
        }
Exemple #2
0
        public override void _0001(RecordClassDispatcher v, object col, PrototypeError role)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (col == null)
            {
                v._0008();
                return;
            }
            RateRequest(col.GetType());
            PublisherRequestStrategy publisherRequestStrategy = role._0001() as PublisherRequestStrategy;
            string init = (string)m_SerializerIssuer.CancelIssuer(col, "Key");
            object obj  = m_SerializerIssuer.CancelIssuer(col, "Value");
            Type   type = obj?.GetType();

            v._0002();
            v._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Key") : "Key");
            v._0004(init);
            v._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Type") : "Type");
            v._0004(type?.FullName);
            v._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Value") : "Value");
            if (type != null)
            {
                if (InterceptorInstanceExpression.ExcludeBroadcaster(obj, type, out string _0004))
                {
                    v._0004(_0004);
                }
                else
                {
                    v._0001(obj);
                }
            }
            else
            {
                v._0008();
            }
            v._0011();
        }
 private byte[] ReflectRequest(object def)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (def.GetType().FullName == "System.Data.Linq.Binary")
     {
         ResetRequest(def.GetType());
         return((byte[])_InfoIssuer.CancelIssuer(def, "ToArray"));
     }
     if (def is SqlBinary)
     {
         return(((SqlBinary)def).Value);
     }
     throw new StrategyError("Unexpected value type when writing binary: {0}".ListReader(CultureInfo.InvariantCulture, def.GetType()));
 }
Exemple #4
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);
 }