public override int GetHashCode() { unchecked { return(((location != null ? location.GetHashCode() : 0) * 397) ^ id.GetHashCode()); } }
public override int GetHashCode() { unchecked { var hashCode = File?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (FileHashCallback?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ CancellationToken.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (File != null ? File.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FileHashCallback != null ? FileHashCallback.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CancellationToken.GetHashCode(); return(hashCode); } }