/// <inheritdoc/> public override int GetHashCode() { return(HashCodeHelper.Combine( SourceFile.GetHashCode(), OwningModule.GetHashCode(), EqualityComparer <SpecState> .Default.GetHashCode(State))); }
/// <inheritdoc/> public override int GetHashCode() { return(HashCodeHelper.Combine(Path.GetHashCode(), OwningModule?.GetHashCode() ?? 42)); }
/// <inheritdoc/> public override int GetHashCode() { return(HashCodeHelper.Combine(OwningModule.GetHashCode(), ParsedFile.GetHashCode())); }
/// <inheritdoc/> public bool Equals(SpecWithOwningModule other) { return(Path.Equals(other.Path) && OwningModule?.Equals(other.OwningModule) == true); }
/// <inheritdoc/> public bool Equals(ParsedSpecWithOwningModule other) { return(OwningModule.Equals(other.OwningModule) && ParsedFile == other.ParsedFile); }