예제 #1
0
        private static void ValidateSymbolName(IDescriptor descriptor)
        {
            if (!DescriptorPool.smethod_7(descriptor.Name, ""))
            {
                goto IL_55;
            }
IL_21:
            int arg_2B_0 = 164232957;

IL_26:
            switch ((arg_2B_0 ^ 1498968607) % 5)
            {
            case 1:
                throw new DescriptorValidationException(descriptor, Module.smethod_35 <string>(3327537739u));

            case 2:
IL_55:
                arg_2B_0 = (DescriptorPool.smethod_8(DescriptorPool.ValidationRegex, descriptor.Name) ? 956386433 : 1225429300);
                goto IL_26;

            case 3:
                throw new DescriptorValidationException(descriptor, DescriptorPool.smethod_6(Module.smethod_33 <string>(3031927268u), descriptor.Name, Module.smethod_37 <string>(1895443896u)));

            case 4:
                goto IL_21;
            }
        }