Esempio n. 1
0
                public int CalculateSize()
                {
                    int num = 0;

                    while (true)
                    {
IL_112:
                        uint arg_E6_0 = 2855421691u;
                        while (true)
                        {
                            uint num2;
                            switch ((num2 = (arg_E6_0 ^ 3011765341u)) % 8u)
                            {
                            case 0u:
                                arg_E6_0 = ((SourceCodeInfo.Types.Location.smethod_2(this.TrailingComments) != 0) ? 3837652857u : 2296864130u);
                                continue;

                            case 1u:
                                num     += this.span_.CalculateSize(SourceCodeInfo.Types.Location._repeated_span_codec);
                                arg_E6_0 = (num2 * 3238230227u ^ 3199817187u);
                                continue;

                            case 2u:
                                num     += 1 + CodedOutputStream.ComputeStringSize(this.LeadingComments);
                                arg_E6_0 = (num2 * 2100283546u ^ 2284655521u);
                                continue;

                            case 3u:
                                goto IL_112;

                            case 4u:
                                num     += 1 + CodedOutputStream.ComputeStringSize(this.TrailingComments);
                                arg_E6_0 = (num2 * 3108093966u ^ 2902771322u);
                                continue;

                            case 5u:
                                arg_E6_0 = (((SourceCodeInfo.Types.Location.smethod_2(this.LeadingComments) != 0) ? 794356788u : 484304294u) ^ num2 * 3629793151u);
                                continue;

                            case 6u:
                                num     += this.path_.CalculateSize(SourceCodeInfo.Types.Location._repeated_path_codec);
                                arg_E6_0 = (num2 * 797016928u ^ 1136514700u);
                                continue;
                            }
                            return(num);
                        }
                    }
                    return(num);
                }
Esempio n. 2
0
                public int CalculateSize()
                {
                    int num = 0;

                    while (true)
                    {
IL_AF:
                        uint arg_8B_0 = 403354018u;
                        while (true)
                        {
                            uint num2;
                            switch ((num2 = (arg_8B_0 ^ 377619743u)) % 6u)
                            {
                            case 0u:
                                num     += 1 + CodedOutputStream.ComputeStringSize(this.NamePart_);
                                arg_8B_0 = (num2 * 2029000374u ^ 2222356071u);
                                continue;

                            case 1u:
                                num     += 2;
                                arg_8B_0 = (num2 * 3772960006u ^ 939535701u);
                                continue;

                            case 3u:
                                arg_8B_0 = (((UninterpretedOption.Types.NamePart.smethod_1(this.NamePart_) != 0) ? 3301955599u : 2853213553u) ^ num2 * 2186196082u);
                                continue;

                            case 4u:
                                arg_8B_0 = (this.IsExtension ? 1955293006u : 1131743155u);
                                continue;

                            case 5u:
                                goto IL_AF;
                            }
                            return(num);
                        }
                    }
                    return(num);
                }