Пример #1
0
                public void MergeFrom(SourceCodeInfo.Types.Location other)
                {
                    if (other == null)
                    {
                        goto IL_3E;
                    }
                    goto IL_E8;
                    uint arg_B7_0;

                    while (true)
                    {
IL_B2:
                        uint num;
                        switch ((num = (arg_B7_0 ^ 1503518762u)) % 9u)
                        {
                        case 0u:
                            arg_B7_0 = (((SourceCodeInfo.Types.Location.smethod_2(other.LeadingComments) != 0) ? 2026406776u : 517504125u) ^ num * 3536642534u);
                            continue;

                        case 1u:
                            arg_B7_0 = ((SourceCodeInfo.Types.Location.smethod_2(other.TrailingComments) != 0) ? 1832893644u : 34458745u);
                            continue;

                        case 2u:
                            this.TrailingComments = other.TrailingComments;
                            arg_B7_0 = (num * 4116098684u ^ 788569873u);
                            continue;

                        case 3u:
                            goto IL_E8;

                        case 4u:
                            goto IL_3E;

                        case 5u:
                            return;

                        case 6u:
                            this.LeadingComments = other.LeadingComments;
                            arg_B7_0             = (num * 79346819u ^ 562585227u);
                            continue;

                        case 8u:
                            this.leadingDetachedComments_.Add(other.leadingDetachedComments_);
                            arg_B7_0 = 1893843889u;
                            continue;
                        }
                        break;
                    }
                    return;

IL_3E:
                    arg_B7_0 = 574794882u;
                    goto IL_B2;
IL_E8:
                    this.path_.Add(other.path_);
                    this.span_.Add(other.span_);
                    arg_B7_0 = 2146525738u;
                    goto IL_B2;
                }
Пример #2
0
                public Location(SourceCodeInfo.Types.Location other) : this()
                {
                    while (true)
                    {
IL_73:
                        uint arg_57_0 = 3153497530u;
                        while (true)
                        {
                            uint num;
                            switch ((num = (arg_57_0 ^ 3289435179u)) % 4u)
                            {
                            case 0u:
                                goto IL_73;

                            case 1u:
                                this.path_ = other.path_.Clone();
                                this.span_ = other.span_.Clone();
                                arg_57_0   = (num * 2096723653u ^ 658396857u);
                                continue;

                            case 3u:
                                this.leadingComments_ = other.leadingComments_;
                                arg_57_0 = (num * 931419334u ^ 4195484543u);
                                continue;
                            }
                            goto Block_1;
                        }
                    }
Block_1:
                    this.trailingComments_        = other.trailingComments_;
                    this.leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
                }
Пример #3
0
                public bool Equals(SourceCodeInfo.Types.Location other)
                {
                    if (other == null)
                    {
                        goto IL_47;
                    }
                    goto IL_15D;
                    int arg_107_0;

                    while (true)
                    {
IL_102:
                        switch ((arg_107_0 ^ 1099651523) % 15)
                        {
                        case 0:
                            return(false);

                        case 1:
                            return(false);

                        case 2:
                            return(true);

                        case 3:
                            return(false);

                        case 4:
                            arg_107_0 = ((!this.path_.Equals(other.path_)) ? 542846911 : 311291481);
                            continue;

                        case 5:
                            arg_107_0 = ((!SourceCodeInfo.Types.Location.smethod_0(this.TrailingComments, other.TrailingComments)) ? 2065850950 : 1609226087);
                            continue;

                        case 6:
                            arg_107_0 = (this.span_.Equals(other.span_) ? 772020775 : 243829541);
                            continue;

                        case 7:
                            return(false);

                        case 9:
                            arg_107_0 = (SourceCodeInfo.Types.Location.smethod_0(this.LeadingComments, other.LeadingComments) ? 1091448227 : 208943912);
                            continue;

                        case 10:
                            goto IL_47;

                        case 11:
                            goto IL_15D;

                        case 12:
                            return(false);

                        case 13:
                            return(false);

                        case 14:
                            arg_107_0 = ((!this.leadingDetachedComments_.Equals(other.leadingDetachedComments_)) ? 872150582 : 1291470615);
                            continue;
                        }
                        break;
                    }
                    return(true);

IL_47:
                    arg_107_0 = 521157702;
                    goto IL_102;
IL_15D:
                    arg_107_0 = ((other == this) ? 273226328 : 1065212888);
                    goto IL_102;
                }