You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Private.CoreLib/src/System/IUtf8SpanFormattable.cs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ namespace System
7
7
publicinterfaceIUtf8SpanFormattable
8
8
{
9
9
/// <summary>Tries to format the value of the current instance as UTF8 into the provided span of bytes.</summary>
10
-
/// <param name="destination">When this method returns, this instance's value formatted as a span of bytes.</param>
11
-
/// <param name="bytesWritten">When this method returns, the number of bytes that were written in <paramref name="destination"/>.</param>
12
-
/// <param name="format">A span containing the characters that represent a standard or custom format string that defines the acceptable format for <paramref name="destination"/>.</param>
13
-
/// <param name="provider">An optional object that supplies culture-specific formatting information for <paramref name="destination"/>.</param>
10
+
/// <param name="utf8Destination">When this method returns, this instance's value formatted as a span of bytes.</param>
11
+
/// <param name="bytesWritten">When this method returns, the number of bytes that were written in <paramref name="utf8Destination"/>.</param>
12
+
/// <param name="format">A span containing the characters that represent a standard or custom format string that defines the acceptable format for <paramref name="utf8Destination"/>.</param>
13
+
/// <param name="provider">An optional object that supplies culture-specific formatting information for <paramref name="utf8Destination"/>.</param>
14
14
/// <returns><see langword="true"/> if the formatting was successful; otherwise, <see langword="false"/>.</returns>
15
15
/// <remarks>
16
16
/// An implementation of this interface should produce the same string of characters as an implementation of <see cref="IFormattable.ToString"/> or <see cref="ISpanFormattable.TryFormat"/>
17
17
/// on the same type. TryFormat should return false only if there is not enough space in the destination buffer; any other failures should throw an exception.
Copy file name to clipboardExpand all lines: src/libraries/System.Runtime/ref/System.Runtime.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3871,7 +3871,7 @@ public partial interface ISpanParsable<TSelf> : System.IParsable<TSelf> where TS
3871
3871
}
3872
3872
public partial interface IUtf8SpanFormattable
3873
3873
{
3874
-
bool TryFormat(System.Span<byte> destination, out int bytesWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider);
3874
+
bool TryFormat(System.Span<byte> utf8Destination, out int bytesWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider);
3875
3875
}
3876
3876
public partial class Lazy<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T>
0 commit comments