Example #1
0
 public override bool Equals(BaseStatement other)
 {
     return(other is If @if &&
            @if.Equals(this));
 }
Example #2
0
 public override bool Equals(BaseStatement other)
 {
     return(other is ExpressionWrapper exp &&
            exp.Equals(this));
 }
Example #3
0
 public override bool Equals(BaseStatement other)
 {
     return(other is Goto @goto &&
            @goto.Equals(this));
 }
Example #4
0
 public override bool Equals(BaseStatement other)
 {
     return(other is CompoundAssignment ass &&
            ass.Equals(this));
 }
Example #5
0
 public override bool Equals(BaseStatement other)
 {
     return(other is StatementList sl &&
            sl.Equals(this));
 }
Example #6
0
 public override bool Equals(BaseStatement other)
 {
     return(Equals(other as EmptyStatement));
 }