Exemple #1
0
        public static byte[] GetFieldValueBytes(this SQLiteDataReader value, string columnName)
        {
            byte[] numArray1 = (byte[])null;
            int    num1      = Extension.\u206C​‫‫‫‍‭‫‭‭​‎‎‌‌‬‮‍‭‭‮‪‬‬​‍‮((DbDataReader)value, columnName);

            if (!Extension.\u202E‮‎‏‮‫‏​‍‌‬‭‭‭‮​‮‭‪‌​‍‎‫‏‫‮((DbDataReader)value, num1))
            {
                try
                {
label_2:
                    int num2 = 830672445;
                    long length;
                    while (true)
                    {
                        int  num3 = 282014630;
                        uint num4;
                        switch ((num4 = (uint)(num2 ^ num3)) % 3U)
                        {
                        case 1:
                            length    = Extension.\u202B‬‫‫​‎‬‎‭‬‮‫‏‭‫‬‫‏​‪‎‏‪‌‌‪‌‫‍‌‮((DbDataReader)value, num1, 0L, (byte[])null, 0, 0);
                            numArray1 = new byte[length];
                            num2      = (int)num4 * 1291099827 ^ 846153775;
                            continue;

                        case 2:
                            goto label_2;

                        default:
                            goto label_5;
                        }
                    }
label_5:
                    Extension.\u202B‬‫‫​‎‬‎‭‬‮‫‏‭‫‬‫‏​‪‎‏‪‌‌‪‌‫‍‌‮((DbDataReader)value, num1, 0L, numArray1, 0, Extension.\u200E‌‏‌‎‭‏‎‍‭‮‍‏‪​‌‍‪‌‪‮‬‎‮(length));
                }
                catch (Exception ex)
                {
label_7:
                    int num2 = 1808662093;
                    while (true)
                    {
                        int  num3 = 282014630;
                        uint num4;
                        switch ((num4 = (uint)(num2 ^ num3)) % 4U)
                        {
                        case 0:
                            goto label_7;

                        case 1:
                            numArray1 = (byte[])null;
                            num2      = (int)num4 * 123459649 ^ 1418231077;
                            continue;

                        case 3:
                            num2 = (int)num4 * 1592557361 ^ 1305507256;
                            continue;

                        default:
                            goto label_11;
                        }
                    }
                }
                label_11 :;
            }
            else
            {
                goto label_14;
            }
label_12:
            int num5 = 408938032;

label_13:
            while (true)
            {
                int  num2 = 282014630;
                uint num3;
                switch ((num3 = (uint)(num5 ^ num2)) % 4U)
                {
                case 0:
                    goto label_12;

                case 1:
                    num5 = (int)num3 * -643363624 ^ -412681635;
                    continue;

                case 2:
                    goto label_14;

                default:
                    goto label_16;
                }
            }
label_16:
            byte[] numArray2;
            return(numArray2);

label_14:
            numArray2 = numArray1;
            num5      = 429502455;
            goto label_13;
        }
Exemple #2
0
        public static DateTime GetFieldValueDateTime(this SQLiteDataReader value, string columnName)
        {
label_1:
            int num1 = 1131938890;
            DateTime result;
            int      num2;

            while (true)
            {
                int  num3 = 1789741052;
                uint num4;
                bool flag;
                switch ((num4 = (uint)(num1 ^ num3)) % 4U)
                {
                case 1:
                    if (flag)
                    {
                        num1 = (int)num4 * -698076920 ^ 121805560;
                        continue;
                    }
                    goto label_19;

                case 2:
                    result = DateTime.MinValue;
                    num2   = Extension.\u206C​‫‫‫‍‭‫‭‭​‎‎‌‌‬‮‍‭‭‮‪‬‬​‍‮((DbDataReader)value, columnName);
                    flag   = !Extension.\u202E‮‎‏‮‫‏​‍‌‬‭‭‭‮​‮‭‪‌​‍‎‫‏‫‮((DbDataReader)value, num2);
                    num1   = (int)num4 * -1150500823 ^ 765295191;
                    continue;

                case 3:
                    goto label_1;

                default:
                    goto label_6;
                }
            }
label_6:
            try
            {
                string s = Extension.\u200E‫‬‌‫‍‬‎‎‌‮‎​‮‮‎‏​‬​‫‫​‪‪‫‍‮((DbDataReader)value, num2);
label_8:
                int num3 = 521634077;
                while (true)
                {
                    int  num4 = 1789741052;
                    uint num5;
                    bool flag;
                    switch ((num5 = (uint)(num3 ^ num4)) % 7U)
                    {
                    case 0:
                        flag = !DateTime.TryParse(s, out result);
                        num3 = (int)num5 * -562629902 ^ -336709710;
                        continue;

                    case 1:
                        int num6 = s == null ? -271056215 : (num6 = -1726252256);
                        int num7 = (int)num5 * -1517153528;
                        num3 = num6 ^ num7;
                        continue;

                    case 2:
                        goto label_8;

                    case 3:
                        result = DateTime.MinValue;
                        num3   = (int)num5 * 1541564546 ^ -1455529234;
                        continue;

                    case 4:
                        num3 = 338880673;
                        continue;

                    case 6:
                        int num8 = flag ? -1442315776 : (num8 = -977007712);
                        int num9 = (int)num5 * 885094323;
                        num3 = num8 ^ num9;
                        continue;

                    default:
                        goto label_16;
                    }
                }
            }
            catch (Exception ex)
            {
            }
label_16:
label_17:
            int num10 = 674323404;

label_18:
            int num11 = 1789741052;
            uint     num12;
            DateTime dateTime;

            switch ((num12 = (uint)(num10 ^ num11)) % 3U)
            {
            case 1:
                break;

            case 2:
                goto label_17;

            default:
                return(dateTime);
            }
label_19:
            dateTime = result;
            num10    = 624265545;
            goto label_18;
        }