Beispiel #1
0
 public override void _0004(string config)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     m_ComposerIssuer._0004(config);
     errorIssuer._0004(config);
     base._0004(config);
 }
 private void SetupBroadcaster(RecordClassDispatcher init, object pol, StubIteratorMapping field)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     ManageBroadcaster(init, field, pol);
     ExcludeBroadcaster(pol, ((ProcTest)field)._0002(), out string _0004);
     init._0004(_0004);
     InitBroadcaster(init, field, pol);
 }
        private void ListRequest(RecordClassDispatcher i, Regex reg, PrototypeError tag)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            PublisherRequestStrategy publisherRequestStrategy = tag._0001() as PublisherRequestStrategy;

            i._0002();
            i._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Pattern") : "Pattern");
            i._0004(reg.ToString());
            i._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Options") : "Options");
            tag.FlushComposer(i, reg.Options);
            i._0011();
        }
        private void WriteBroadcaster(RecordClassDispatcher ident, Type map)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            string text = ResolverErrorFilter.PublishIssuer(map, baseProperty._StatusError, baseProperty.writerError);

            if (containerProperty != null && containerProperty._0001() >= TraceLevel.Verbose)
            {
                containerProperty._0001(TraceLevel.Verbose, QueueError.ComputeError(null, ident._0002(), "Writing type name '{0}' for {1}.".SelectReader(CultureInfo.InvariantCulture, text, map)), null);
            }
            ident._0001("$type", injectcust: false);
            ident._0004(text);
        }
        private void PublishBroadcaster(RecordClassDispatcher init, Type pred, object control)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            string text = CancelBroadcaster(init, control);

            if (containerProperty != null && containerProperty._0001() >= TraceLevel.Verbose)
            {
                containerProperty._0001(TraceLevel.Verbose, QueueError.ComputeError(null, init._0002(), "Writing object reference Id '{0}' for {1}.".SelectReader(CultureInfo.InvariantCulture, text, pred)), null);
            }
            init._0001("$id", injectcust: false);
            init._0004(text);
        }
Beispiel #6
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 void QueryBroadcaster(RecordClassDispatcher var1, object cust)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            string text = CancelBroadcaster(var1, cust);

            if (containerProperty != null && containerProperty._0001() >= TraceLevel.Info)
            {
                containerProperty._0001(TraceLevel.Info, QueueError.ComputeError(null, var1._0002(), "Writing object reference to Id '{0}' for {1}.".SelectReader(CultureInfo.InvariantCulture, text, cust.GetType())), null);
            }
            var1._0002();
            var1._0001("$ref", injectcust: false);
            var1._0004(text);
            var1._0011();
        }
Beispiel #8
0
        public override void _0001(RecordClassDispatcher v, object ivk, PrototypeError util)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (ivk == null)
            {
                v._0008();
                return;
            }
            PublisherRequestStrategy publisherRequestStrategy = util._0001() as PublisherRequestStrategy;
            Type res = m_PrototypeIssuer.InitReader(ivk.GetType());
            UtilsClientBridge utilsClientBridge = m_ParameterIssuer.InitReader(res);
            int num = (int)utilsClientBridge._ParserIssuer.ConnectIssuer(new object[1]
            {
                ivk
            });
            FactoryDicCandidate factoryDicCandidate = utilsClientBridge.m_StatusIssuer.Single((FactoryDicCandidate P_0) => P_0.pageIssuer == num);

            v._0002();
            v._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Case") : "Case");
            v._0004(factoryDicCandidate._HelperIssuer);
            if (factoryDicCandidate.exceptionIssuer != null && factoryDicCandidate.exceptionIssuer.Length != 0)
            {
                object[] obj = (object[])factoryDicCandidate.attributeIssuer.ConnectIssuer(new object[1]
                {
                    ivk
                });
                v._0002((publisherRequestStrategy != null) ? publisherRequestStrategy.ResetClient("Fields") : "Fields");
                v._0003();
                object[] array = obj;
                foreach (object reg in array)
                {
                    util.FlushComposer(v, reg);
                }
                v._000F();
            }
            v._0011();
        }
        public override void _0001(RecordClassDispatcher task, BroadcasterError[] counter)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            if (counter != null && counter.Length != 0 && m_InvocationIssuer != null)
            {
                BroadcasterError broadcasterError = PrototypeError.LogoutComposer(counter, m_InvocationIssuer.GetType());
                if (broadcasterError != null && broadcasterError._0001())
                {
                    broadcasterError._0001(task, m_InvocationIssuer, PrototypeError.FillComposer());
                    return;
                }
            }
            switch (_ValIssuer)
            {
            case Newtonsoft.Rules.UnicodeCategory.Comment:
                task._0005(m_InvocationIssuer?.ToString());
                break;

            case Newtonsoft.Rules.UnicodeCategory.Raw:
                task._0006(m_InvocationIssuer?.ToString());
                break;

            case Newtonsoft.Rules.UnicodeCategory.Null:
                task._0008();
                break;

            case Newtonsoft.Rules.UnicodeCategory.Undefined:
                task._000E();
                break;

            case Newtonsoft.Rules.UnicodeCategory.Integer:
            {
                object invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is int)
                {
                    int first_Low = (int)invocationIssuer;
                    task._0001(first_Low);
                    break;
                }
                invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is long)
                {
                    long asset2 = (long)invocationIssuer;
                    task._0001(asset2);
                    break;
                }
                invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is ulong)
                {
                    ulong specID = (ulong)invocationIssuer;
                    task._0001(specID);
                    break;
                }
                invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is BigInteger)
                {
                    BigInteger bigInteger = (BigInteger)invocationIssuer;
                    task._0001(bigInteger);
                }
                else
                {
                    task._0001(Convert.ToInt64(m_InvocationIssuer, CultureInfo.InvariantCulture));
                }
                break;
            }

            case Newtonsoft.Rules.UnicodeCategory.Float:
            {
                object invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is decimal)
                {
                    decimal asset = (decimal)invocationIssuer;
                    task._0001(asset);
                    break;
                }
                invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is double)
                {
                    double last = (double)invocationIssuer;
                    task._0001(last);
                    break;
                }
                invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is float)
                {
                    float init = (float)invocationIssuer;
                    task._0001(init);
                }
                else
                {
                    task._0001(Convert.ToDouble(m_InvocationIssuer, CultureInfo.InvariantCulture));
                }
                break;
            }

            case Newtonsoft.Rules.UnicodeCategory.String:
                task._0004(m_InvocationIssuer?.ToString());
                break;

            case Newtonsoft.Rules.UnicodeCategory.Boolean:
                task._0001(Convert.ToBoolean(m_InvocationIssuer, CultureInfo.InvariantCulture));
                break;

            case Newtonsoft.Rules.UnicodeCategory.Date:
            {
                object invocationIssuer = m_InvocationIssuer;
                if (invocationIssuer is DateTimeOffset)
                {
                    DateTimeOffset last2 = (DateTimeOffset)invocationIssuer;
                    task._0001(last2);
                }
                else
                {
                    task._0001(Convert.ToDateTime(m_InvocationIssuer, CultureInfo.InvariantCulture));
                }
                break;
            }

            case Newtonsoft.Rules.UnicodeCategory.Bytes:
                task._0001((byte[])m_InvocationIssuer);
                break;

            case Newtonsoft.Rules.UnicodeCategory.Guid:
                task._0001((m_InvocationIssuer != null) ? ((Guid?)m_InvocationIssuer) : null);
                break;

            case Newtonsoft.Rules.UnicodeCategory.TimeSpan:
                task._0001((m_InvocationIssuer != null) ? ((TimeSpan?)m_InvocationIssuer) : null);
                break;

            case Newtonsoft.Rules.UnicodeCategory.Uri:
                task._0001((Uri)m_InvocationIssuer);
                break;

            default:
                throw CustomerListAnnotation.ConcatIssuer("Type", _ValIssuer, "Unexpected token type.");
            }
        }
Beispiel #10
0
        private void InitRequest(RecordClassDispatcher first, CreatorIssuer second, XmlNamespaceManager template, bool isresult2)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            switch (second._0001())
            {
            case XmlNodeType.Document:
            case XmlNodeType.DocumentFragment:
                ExcludeRequest(first, second, template, isresult2);
                break;

            case XmlNodeType.Element:
                if (CancelRequest(second) && DefineRequest(second) && second._0001().Count > 0)
                {
                    ExcludeRequest(first, second, template, hasattr2: false);
                    break;
                }
                template.PushScope();
                foreach (CreatorIssuer item in second._0002())
                {
                    if (item._0003() == "http://www.w3.org/2000/xmlns/")
                    {
                        string prefix = (item._0001() != "xmlns") ? XmlConvert.DecodeName(item._0001()) : string.Empty;
                        string text   = item._0002();
                        if (text == null)
                        {
                            throw new StrategyError("Namespace attribute must have a value.");
                        }
                        template.AddNamespace(prefix, text);
                    }
                }
                if (isresult2)
                {
                    first._0002(QueryRequest(second, template));
                }
                if (!ResolveIterator(second._0002()) && second._0001().Count == 1 && second._0001()[0]._0001() == XmlNodeType.Text)
                {
                    first._0004(second._0001()[0]._0002());
                }
                else if (second._0001().Count == 0 && second._0002().Count == 0)
                {
                    if (((InfoRequestStrategy)second)._0001())
                    {
                        first._0008();
                    }
                    else
                    {
                        first._0004(string.Empty);
                    }
                }
                else
                {
                    first._0002();
                    for (int i = 0; i < second._0002().Count; i++)
                    {
                        InitRequest(first, second._0002()[i], template, isresult2: true);
                    }
                    ExcludeRequest(first, second, template, hasattr2: true);
                    first._0011();
                }
                template.PopScope();
                break;

            case XmlNodeType.Comment:
                if (isresult2)
                {
                    first._0005(second._0002());
                }
                break;

            case XmlNodeType.Attribute:
            case XmlNodeType.Text:
            case XmlNodeType.CDATA:
            case XmlNodeType.ProcessingInstruction:
            case XmlNodeType.Whitespace:
            case XmlNodeType.SignificantWhitespace:
                if ((!(second._0003() == "http://www.w3.org/2000/xmlns/") || !(second._0002() == "http://james.newtonking.com/projects/json")) && (!(second._0003() == "http://james.newtonking.com/projects/json") || !(second._0001() == "Array")))
                {
                    if (isresult2)
                    {
                        first._0002(QueryRequest(second, template));
                    }
                    first._0004(second._0002());
                }
                break;

            case XmlNodeType.XmlDeclaration:
            {
                DicEventConsumer dicEventConsumer = (DicEventConsumer)second;
                first._0002(QueryRequest(second, template));
                first._0002();
                if (!SetterTest.StartReader(dicEventConsumer._0004()))
                {
                    first._0002("@version");
                    first._0004(dicEventConsumer._0004());
                }
                if (!SetterTest.StartReader(dicEventConsumer._0005()))
                {
                    first._0002("@encoding");
                    first._0004(dicEventConsumer._0005());
                }
                if (!SetterTest.StartReader(dicEventConsumer._0006()))
                {
                    first._0002("@standalone");
                    first._0004(dicEventConsumer._0006());
                }
                first._0011();
                break;
            }

            case XmlNodeType.DocumentType:
            {
                IndexerIssuer indexerIssuer = (IndexerIssuer)second;
                first._0002(QueryRequest(second, template));
                first._0002();
                if (!SetterTest.StartReader(indexerIssuer._0004()))
                {
                    first._0002("@name");
                    first._0004(indexerIssuer._0004());
                }
                if (!SetterTest.StartReader(indexerIssuer._0006()))
                {
                    first._0002("@public");
                    first._0004(indexerIssuer._0006());
                }
                if (!SetterTest.StartReader(indexerIssuer._0005()))
                {
                    first._0002("@system");
                    first._0004(indexerIssuer._0005());
                }
                if (!SetterTest.StartReader(indexerIssuer._0007()))
                {
                    first._0002("@internalSubset");
                    first._0004(indexerIssuer._0007());
                }
                first._0011();
                break;
            }

            default:
                throw new StrategyError("Unexpected XmlNodeType when serializing nodes: " + second._0001());
            }
        }