public static bool Equals(ManifestFile x, ManifestFile y) { if (object.ReferenceEquals(x, y)) { return(true); } if (object.ReferenceEquals(x, null) || object.ReferenceEquals(y, null)) { return(false); } return(x.Filename == y.Filename && x.Modified == y.Modified && x.Size == y.Size); }
public bool EqualsTo(ManifestFile file) { return(Equals(this, file)); }