/// <inheritdoc /> public override int GetHashCode() { return(HashCodeHelpers.Combine( Source.GetHashCode(), Target.GetHashCode(), SourceTerminal.GetHashCode(), TargetTerminal.GetHashCode())); }
/// <inheritdoc /> public override int GetHashCode() { // ReSharper disable ConstantConditionalAccessQualifier // ReSharper disable ConstantNullCoalescingCondition // Justification: Because of struct default constructor return(HashCodeHelpers.Combine( Source?.GetHashCode() ?? 0, Target?.GetHashCode() ?? 0)); // ReSharper restore ConstantNullCoalescingCondition // ReSharper restore ConstantConditionalAccessQualifier }