コード例 #1
0
ファイル: SourceCodeInfo.cs プロジェクト: drolean/Arctium-RE
 public Location(SourceCodeInfo.Types.Location other) : this()
 {
     this.path_             = other.path_.Clone();
     this.span_             = other.span_.Clone();
     this.leadingComments_  = other.leadingComments_;
     this.trailingComments_ = other.trailingComments_;
 }
コード例 #2
0
ファイル: SourceCodeInfo.cs プロジェクト: drolean/Arctium-RE
                public void MergeFrom(SourceCodeInfo.Types.Location other)
                {
                    if (other == null)
                    {
                        goto IL_71;
                    }
                    goto IL_B2;
                    uint arg_7B_0;

                    while (true)
                    {
IL_76:
                        uint num;
                        switch ((num = (arg_7B_0 ^ 2655529239u)) % 7u)
                        {
                        case 0u:
                            goto IL_71;

                        case 1u:
                            goto IL_B2;

                        case 2u:
                            this.LeadingComments = other.LeadingComments;
                            arg_7B_0             = (num * 909486776u ^ 1094130646u);
                            continue;

                        case 3u:
                            this.TrailingComments = other.TrailingComments;
                            arg_7B_0 = (num * 2445252415u ^ 1636155262u);
                            continue;

                        case 4u:
                            return;

                        case 5u:
                            arg_7B_0 = ((SourceCodeInfo.Types.Location.smethod_2(other.TrailingComments) == 0) ? 3822791731u : 4057200484u);
                            continue;
                        }
                        break;
                    }
                    return;

IL_71:
                    arg_7B_0 = 2646651881u;
                    goto IL_76;
IL_B2:
                    this.path_.Add(other.path_);
                    this.span_.Add(other.span_);
                    arg_7B_0 = ((SourceCodeInfo.Types.Location.smethod_2(other.LeadingComments) != 0) ? 4049535965u : 4090887910u);
                    goto IL_76;
                }
コード例 #3
0
ファイル: SourceCodeInfo.cs プロジェクト: drolean/Arctium-RE
                public bool Equals(SourceCodeInfo.Types.Location other)
                {
                    if (other == null)
                    {
                        goto IL_73;
                    }
                    goto IL_123;
                    int arg_D5_0;

                    while (true)
                    {
IL_D0:
                        switch ((arg_D5_0 ^ -412922413) % 13)
                        {
                        case 1:
                            return(false);

                        case 2:
                            return(false);

                        case 3:
                            arg_D5_0 = (SourceCodeInfo.Types.Location.smethod_0(this.LeadingComments, other.LeadingComments) ? -1823415606 : -2096372320);
                            continue;

                        case 4:
                            goto IL_123;

                        case 5:
                            return(false);

                        case 6:
                            arg_D5_0 = (this.path_.Equals(other.path_) ? -1963338242 : -309609019);
                            continue;

                        case 7:
                            goto IL_73;

                        case 8:
                            arg_D5_0 = (this.span_.Equals(other.span_) ? -1253329141 : -1506828496);
                            continue;

                        case 9:
                            return(false);

                        case 10:
                            return(false);

                        case 11:
                            arg_D5_0 = ((!SourceCodeInfo.Types.Location.smethod_0(this.TrailingComments, other.TrailingComments)) ? -1984696017 : -1866059674);
                            continue;

                        case 12:
                            return(true);
                        }
                        break;
                    }
                    return(true);

IL_73:
                    arg_D5_0 = -2017480143;
                    goto IL_D0;
IL_123:
                    arg_D5_0 = ((other != this) ? -235532001 : -1635374671);
                    goto IL_D0;
                }