public override bool Equals(object obj) { IErrorTaskItem other = obj as IErrorTaskItem; if (other == null) { return(false); } return (AbstractTaskItem.Equals(this, other) && Id == other.Id && ProjectId == other.ProjectId && Severity == other.Severity); }
public override int GetHashCode() { return(Hash.Combine(AbstractTaskItem.GetHashCode(this), Hash.Combine(Id.GetHashCode(), (int)Severity))); }