public override int GetHashCode() { unchecked { int result = Name?.GetHashCode() ?? 0; result = (result * 397) ^ IsRemote.GetHashCode(); result = (result * 397) ^ IsCurrent.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int result = (Name != null ? Name.GetHashCode() : 0); result = (result * 397) ^ IsRemote.GetHashCode(); result = (result * 397) ^ IsCurrent.GetHashCode(); return(result); } }