Beispiel #1
0
        internal void AddSymbol(IDescriptor descriptor)
        {
            DescriptorPool.ValidateSymbolName(descriptor);
            string description;

            while (true)
            {
IL_220:
                uint arg_1DA_0 = 1985145293u;
                while (true)
                {
                    uint num;
                    switch ((num = (arg_1DA_0 ^ 2053731764u)) % 14u)
                    {
                    case 0u:
                    {
                        string fullName;
                        int    num2;
                        description = DescriptorPool.smethod_5(new string[]
                            {
                                Module.smethod_36 <string>(1708679815u),
                                DescriptorPool.smethod_4(fullName, num2 + 1),
                                Module.smethod_37 <string>(2801180086u),
                                DescriptorPool.smethod_3(fullName, 0, num2),
                                Module.smethod_35 <string>(2292255829u)
                            });
                        arg_1DA_0 = 1833202264u;
                        continue;
                    }

                    case 1u:
                    {
                        IDescriptor descriptor2;
                        arg_1DA_0 = (((descriptor.File != descriptor2.File) ? 461553329u : 98503376u) ^ num * 1094856435u);
                        continue;
                    }

                    case 2u:
                    {
                        string      fullName;
                        IDescriptor descriptor2;
                        description = DescriptorPool.smethod_5(new string[]
                            {
                                Module.smethod_36 <string>(1708679815u),
                                fullName,
                                Module.smethod_35 <string>(2935817106u),
                                descriptor2.File.Name,
                                Module.smethod_34 <string>(4290967862u)
                            });
                        arg_1DA_0 = 399949226u;
                        continue;
                    }

                    case 4u:
                        arg_1DA_0 = (num * 512943130u ^ 3276706322u);
                        continue;

                    case 5u:
                    {
                        string      fullName;
                        IDescriptor descriptor2;
                        arg_1DA_0 = ((this.descriptorsByName.TryGetValue(fullName, out descriptor2) ? 724224651u : 816491605u) ^ num * 3835365548u);
                        continue;
                    }

                    case 6u:
                        arg_1DA_0 = (num * 587877992u ^ 2721817162u);
                        continue;

                    case 7u:
                    {
                        string fullName = descriptor.FullName;
                        arg_1DA_0 = (num * 3042641918u ^ 2879375567u);
                        continue;
                    }

                    case 8u:
                    {
                        string fullName;
                        description = DescriptorPool.smethod_6(Module.smethod_33 <string>(3031927268u), fullName, Module.smethod_36 <string>(4135403163u));
                        arg_1DA_0   = (num * 294609173u ^ 513628476u);
                        continue;
                    }

                    case 9u:
                    {
                        string fullName;
                        this.descriptorsByName[fullName] = descriptor;
                        arg_1DA_0 = 560751961u;
                        continue;
                    }

                    case 10u:
                        goto IL_220;

                    case 11u:
                    {
                        int num2;
                        arg_1DA_0 = (((num2 != -1) ? 3906432723u : 2856908785u) ^ num * 923807959u);
                        continue;
                    }

                    case 12u:
                        goto IL_227;

                    case 13u:
                    {
                        string fullName;
                        int    num2 = DescriptorPool.smethod_2(fullName, '.');
                        arg_1DA_0 = (num * 2071959698u ^ 1993918755u);
                        continue;
                    }
                    }
                    goto Block_4;
                }
            }
Block_4:
            return;

IL_227:
            throw new DescriptorValidationException(descriptor, description);
        }