Beispiel #1
0
        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
label_1:
            int num1 = 963112009;
            object obj;

            while (true)
            {
                int  num2 = 710049339;
                uint num3;
                int  num4;
                bool flag;
                switch ((num3 = (uint)(num1 ^ num2)) % 8U)
                {
                case 0:
                    num1 = (int)num3 * 109250741 ^ 2136883893;
                    continue;

                case 1:
                    int num5 = flag ? -1557097215 : (num5 = -347223726);
                    int num6 = (int)num3 * 1464714878;
                    num1 = num5 ^ num6;
                    continue;

                case 2:
                    num4 = 0;
                    flag = parameter is Type;
                    num1 = (int)num3 * -434051976 ^ 278266626;
                    continue;

                case 3:
                    goto label_1;

                case 4:
                    num1 = (int)num3 * -740519137 ^ -1051626014;
                    continue;

                case 5:
                    num4 = (int)EnumConverter.\u200F‭‫‬‎‏‎‮‮‫​​‬​‮‪‍‎‮((Type)parameter, EnumConverter.\u206B‌​‫‭‪‏‎‪‬​‬‪‫‬‬‬​‬‫​‌​‎‮(value));
                    num1 = (int)num3 * -301535405 ^ -1423718317;
                    continue;

                case 7:
                    obj  = (object)num4;
                    num1 = 2108234531;
                    continue;

                default:
                    goto label_9;
                }
            }
label_9:
            return(obj);
        }
Beispiel #2
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
label_1:
            int num1 = 556950205;
            object obj;

            while (true)
            {
                int  num2 = 632350537;
                uint num3;
                Enum @enum;
                bool flag;
                switch ((num3 = (uint)(num1 ^ num2)) % 8U)
                {
                case 0:
                    goto label_1;

                case 2:
                    obj  = (object)@enum;
                    num1 = 229994526;
                    continue;

                case 3:
                    int num4 = flag ? -204409231 : (num4 = -514850555);
                    int num5 = (int)num3 * 68971786;
                    num1 = num4 ^ num5;
                    continue;

                case 4:
                    @enum = (Enum)null;
                    flag  = parameter is Type;
                    num1  = (int)num3 * 1516128296 ^ 2011155474;
                    continue;

                case 5:
                    num1 = (int)num3 * -1538295682 ^ 1020752445;
                    continue;

                case 6:
                    @enum = (Enum)EnumConverter.\u200F‭‫‬‎‏‎‮‮‫​​‬​‮‪‍‎‮((Type)parameter, EnumConverter.\u206B‌​‫‭‪‏‎‪‬​‬‪‫‬‬‬​‬‫​‌​‎‮(value));
                    num1  = (int)num3 * -2003678959 ^ 21304538;
                    continue;

                case 7:
                    num1 = (int)num3 * -443763607 ^ -732252177;
                    continue;

                default:
                    goto label_9;
                }
            }
label_9:
            return(obj);
        }