Пример #1
0
 public override void _0006(string spec)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     m_ComposerIssuer._0006(spec);
     errorIssuer._0006(spec);
     GetTest(WatcherComposer.Undefined);
 }
Пример #2
0
        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.");
            }
        }