Ejemplo n.º 1
0
        internal static MethodInfo GetMethod(this Type target, string name)
        {
            while (true)
            {
IL_CA:
                uint arg_8F_0 = (target == null) ? 2521468880u : 2181048316u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_8F_0 ^ 2469246798u)) % 8u)
                    {
                    case 0u:
                        arg_8F_0 = 2181048316u;
                        continue;

                    case 1u:
                    {
                        TypeInfo typeInfo;
                        target   = TypeExtensions.smethod_9(typeInfo);
                        arg_8F_0 = 4021995645u;
                        continue;
                    }

                    case 2u:
                    {
                        TypeInfo   typeInfo   = TypeExtensions.smethod_0(target);
                        MethodInfo methodInfo = TypeExtensions.smethod_10(typeInfo, name);
                        arg_8F_0 = 2376643290u;
                        continue;
                    }

                    case 3u:
                        goto IL_CA;

                    case 4u:
                    {
                        MethodInfo methodInfo;
                        arg_8F_0 = (((methodInfo != null) ? 1298327965u : 61772627u) ^ num * 1060594473u);
                        continue;
                    }

                    case 5u:
                    {
                        MethodInfo methodInfo;
                        return(methodInfo);
                    }

                    case 7u:
                    {
                        MethodInfo methodInfo;
                        arg_8F_0 = (((!TypeExtensions.smethod_6(methodInfo)) ? 2160196137u : 4256106933u) ^ num * 185674498u);
                        continue;
                    }
                    }
                    goto Block_3;
                }
            }
Block_3:
            return(null);
        }
Ejemplo n.º 2
0
        internal static PropertyInfo GetProperty(this Type target, string name)
        {
            while (true)
            {
IL_173:
                uint arg_127_0 = (target != null) ? 3462574241u : 2188921634u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_127_0 ^ 3380171852u)) % 12u)
                    {
                    case 0u:
                    {
                        PropertyInfo propertyInfo;
                        arg_127_0 = ((!TypeExtensions.smethod_7(propertyInfo)) ? 3618814751u : 2973301651u);
                        continue;
                    }

                    case 1u:
                    {
                        TypeInfo typeInfo = TypeExtensions.smethod_0(target);
                        arg_127_0 = 3231725208u;
                        continue;
                    }

                    case 2u:
                        arg_127_0 = 3462574241u;
                        continue;

                    case 3u:
                    {
                        TypeInfo typeInfo;
                        target    = TypeExtensions.smethod_9(typeInfo);
                        arg_127_0 = 2243421325u;
                        continue;
                    }

                    case 4u:
                    {
                        PropertyInfo propertyInfo;
                        return(propertyInfo);
                    }

                    case 5u:
                    {
                        PropertyInfo propertyInfo;
                        arg_127_0 = (((propertyInfo != null) ? 3875040517u : 4036738732u) ^ num * 4172870815u);
                        continue;
                    }

                    case 6u:
                    {
                        PropertyInfo propertyInfo;
                        arg_127_0 = (((!TypeExtensions.smethod_4(propertyInfo)) ? 2465284096u : 3240594463u) ^ num * 3716117260u);
                        continue;
                    }

                    case 7u:
                    {
                        PropertyInfo propertyInfo;
                        arg_127_0 = ((TypeExtensions.smethod_6(TypeExtensions.smethod_8(propertyInfo)) ? 1083058896u : 547771499u) ^ num * 1931570956u);
                        continue;
                    }

                    case 8u:
                    {
                        TypeInfo     typeInfo;
                        PropertyInfo propertyInfo = TypeExtensions.smethod_3(typeInfo, name);
                        arg_127_0 = (num * 1158742807u ^ 2567007021u);
                        continue;
                    }

                    case 9u:
                        goto IL_173;

                    case 11u:
                    {
                        PropertyInfo propertyInfo;
                        arg_127_0 = ((TypeExtensions.smethod_6(TypeExtensions.smethod_5(propertyInfo)) ? 3951386411u : 3282301751u) ^ num * 2213342445u);
                        continue;
                    }
                    }
                    goto Block_6;
                }
            }
Block_6:
            return(null);
        }