public bool Equals(SyntaxPath other) { if (other == null) { return(false); } if (object.ReferenceEquals(this, other)) { return(true); } return (_trackKinds == other._trackKinds && _kind == other._kind && _segments.SequenceEqual(other._segments, (x, y) => x.Equals(y))); }
public bool Equals(SyntaxPath other) { if (other == null) { return false; } if (object.ReferenceEquals(this, other)) { return true; } return this.trackKinds == other.trackKinds && this.kind == other.kind && this.segments.SequenceEqual(other.segments, (x, y) => x.Equals(y)); }