public bool Equals(TreeNodeToken obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; return Equals(obj.Type, Type) && Equals(obj.Path, Path); }