diff --git a/src/Polyfill/Polyfill_TryFormat.cs b/src/Polyfill/Polyfill_TryFormat.cs index 180745b..fbe71b4 100644 --- a/src/Polyfill/Polyfill_TryFormat.cs +++ b/src/Polyfill/Polyfill_TryFormat.cs @@ -15,7 +15,7 @@ static partial class Polyfill /// Tries to format the value of the current instance into the provided span of characters. /// //Link: https://learn.microsoft.com/en-us/dotnet/api/system.timespan.tryformat#system-timespan-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider) - public static bool TryFormat(this TimeSpan target, Span destination, out int charsWritten, ReadOnlySpan format = default, [StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] IFormatProvider? formatProvider = null) + public static bool TryFormat(this TimeSpan target, Span destination, out int charsWritten, [StringSyntax(StringSyntaxAttribute.TimeSpanFormat)] ReadOnlySpan format = default, IFormatProvider? formatProvider = null) { string result; @@ -55,7 +55,7 @@ public static bool TryFormat(this Guid target, Span destination, out int c /// Tries to format the value of the current instance into the provided span of characters. /// //Link: https://learn.microsoft.com/en-us/dotnet/api/system.sbyte.tryformat#system-sbyte-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider) - public static bool TryFormat(this sbyte target, Span destination, out int charsWritten, ReadOnlySpan format = default, [StringSyntax(StringSyntaxAttribute.NumericFormat)] IFormatProvider? provider = default) + public static bool TryFormat(this sbyte target, Span destination, out int charsWritten, [StringSyntax(StringSyntaxAttribute.NumericFormat)] ReadOnlySpan format = default, IFormatProvider? provider = default) { string result;