diff --git a/src/libraries/System.Private.CoreLib/src/System/Numerics/TotalOrderIeee754Comparer.cs b/src/libraries/System.Private.CoreLib/src/System/Numerics/TotalOrderIeee754Comparer.cs index 77c33c4e04dceb..dca39f67536041 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Numerics/TotalOrderIeee754Comparer.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Numerics/TotalOrderIeee754Comparer.cs @@ -226,8 +226,13 @@ public int GetHashCode([DisallowNull] T obj) public bool Equals(TotalOrderIeee754Comparer other) => true; + /// Determines whether this instance and a specified object are equal. + /// The object to compare with the current instance. + /// true if the current instance and are equal; otherwise, false. If is null, the method returns false. public override bool Equals([NotNullWhen(true)] object? obj) => obj is TotalOrderIeee754Comparer; + /// Returns the hash code for this instance. + /// The hash code. public override int GetHashCode() => EqualityComparer.Default.GetHashCode(); } } diff --git a/src/libraries/System.Runtime.Numerics/src/System/Numerics/Complex.cs b/src/libraries/System.Runtime.Numerics/src/System/Numerics/Complex.cs index 51d0580c285edd..e162bab1738051 100644 --- a/src/libraries/System.Runtime.Numerics/src/System/Numerics/Complex.cs +++ b/src/libraries/System.Runtime.Numerics/src/System/Numerics/Complex.cs @@ -2200,6 +2200,7 @@ public static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, I public bool TryFormat(Span destination, out int charsWritten, [StringSyntax(StringSyntaxAttribute.NumericFormat)] ReadOnlySpan format = default, IFormatProvider? provider = null) => TryFormatCore(destination, out charsWritten, format, provider); + /// public bool TryFormat(Span utf8Destination, out int bytesWritten, [StringSyntax(StringSyntaxAttribute.NumericFormat)] ReadOnlySpan format = default, IFormatProvider? provider = null) => TryFormatCore(utf8Destination, out bytesWritten, format, provider);