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
Utf8Formatter.TryFormat((uint)value,MemoryMarshal.Cast<TChar,byte>(destination),outvalueCharsWritten);// TODO https://github.com/dotnet/runtime/issues/84527: Use UInt32's IUtf8SpanFormattable when available
Copy file name to clipboardExpand all lines: src/libraries/System.Runtime/ref/System.Runtime.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7058,7 +7058,7 @@ protected ValueType() { }
7058
7058
public override int GetHashCode() { throw null; }
7059
7059
public override string? ToString() { throw null; }
7060
7060
}
7061
-
public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable<System.Version?>, System.IEquatable<System.Version?>, System.IFormattable, System.ISpanFormattable
7061
+
public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable<System.Version?>, System.IEquatable<System.Version?>, System.IFormattable, System.ISpanFormattable, System.IUtf8SpanFormattable
7062
7062
{
7063
7063
public Version() { }
7064
7064
public Version(int major, int minor) { }
@@ -7087,6 +7087,7 @@ public Version(string version) { }
7087
7087
public static System.Version Parse(string input) { throw null; }
7088
7088
string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; }
7089
7089
bool System.ISpanFormattable.TryFormat(System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
7090
+
bool System.IUtf8SpanFormattable.TryFormat(System.Span<byte> utf8Destination, out int bytesWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
7090
7091
public override string ToString() { throw null; }
7091
7092
public string ToString(int fieldCount) { throw null; }
7092
7093
public bool TryFormat(System.Span<char> destination, int fieldCount, out int charsWritten) { throw null; }
0 commit comments