Пример #1
0
 public bool Equals(Edit <TNode> other)
 {
     return(this.kind == other.kind &&
            (this.node1 == null) ? other.node1 == null : this.node1.Equals(other.node1) &&
            (this.node2 == null) ? other.node2 == null : this.node2.Equals(other.node2));
 }
Пример #2
0
 public bool Equals(Edit <TNode> other)
 {
     return(_kind == other._kind &&
            (_oldNode == null) ? other._oldNode == null : _oldNode.Equals(other._oldNode) &&
            (_newNode == null) ? other._newNode == null : _newNode.Equals(other._newNode));
 }
Пример #3
0
 public bool Equals(Edit <TNode> other)
 {
     return(this.kind == other.kind &&
            (this.oldNode == null) ? other.oldNode == null : this.oldNode.Equals(other.oldNode) &&
            (this.newNode == null) ? other.newNode == null : this.newNode.Equals(other.newNode));
 }