1 interface inheriting from IUtf8SpanFormattable
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
30IUtf8SpanFormattable,
31 implementations of IUtf8SpanFormattable
System.Net.Primitives (3)
System\Net\IPAddress.cs (1)
20public class IPAddress : ISpanFormattable, ISpanParsable<IPAddress>, IUtf8SpanFormattable, IUtf8SpanParsable<IPAddress>
System\Net\IPEndPoint.cs (1)
17public class IPEndPoint : EndPoint, ISpanFormattable, ISpanParsable<IPEndPoint>, IUtf8SpanFormattable, IUtf8SpanParsable<IPEndPoint>
System\Net\IPNetwork.cs (1)
22public readonly struct IPNetwork : IEquatable<IPNetwork>, ISpanFormattable, ISpanParsable<IPNetwork>, IUtf8SpanFormattable, IUtf8SpanParsable<IPNetwork>
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
25IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
31IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
22IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
57IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
46IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
72IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
29IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
30IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
21IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
36IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
22IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
31IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
29IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
34, IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
21IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
29IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
23IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
27IUtf8SpanFormattable,
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
36IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
23public sealed class Version : ICloneable, IComparable, IComparable<Version?>, IEquatable<Version?>, ISpanFormattable, IUtf8SpanFormattable, IUtf8SpanParsable<Version>
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
25IUtf8SpanFormattable
41 references to IUtf8SpanFormattable
Microsoft.AspNetCore.Components (1)
PersistentState\PersistentStateValueProviderKeyResolver.cs (1)
70if (key is IUtf8SpanFormattable spanFormattable)
System.Net.Primitives (3)
System\Net\IPAddress.cs (1)
496bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System\Net\IPEndPoint.cs (1)
324bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System\Net\IPNetwork.cs (1)
355bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System.Private.CoreLib (35)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Formatter\FormattingHelpers.cs (1)
11public static bool TryFormat<T>(T value, Span<byte> utf8Destination, out int bytesWritten, StandardFormat format) where T : IUtf8SpanFormattable
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
167/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
210/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" /> 211bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
847/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1767/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
807/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
507/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
382/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1266bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, [StringSyntax(StringSyntaxAttribute.GuidFormat)] ReadOnlySpan<char> format, IFormatProvider? provider) =>
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
548/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
123/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
123/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
139/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
136/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
232/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
433/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
486bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
862/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
126/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
377/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
969bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (4)
449if (value is IUtf8SpanFormattable) 451if (((IUtf8SpanFormattable)value).TryFormat(_destination.Slice(_pos), out int bytesWritten, format: default, _provider)) 507if (value is IUtf8SpanFormattable) 509if (((IUtf8SpanFormattable)value).TryFormat(_destination.Slice(_pos), out int bytesWritten, format, _provider))
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
1019/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
862/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
125/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
118/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
134/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
133/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
228/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Version.cs (2)
274/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" /> 275bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
339[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IUtf8SpanFormattable))]
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
2266/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat(Span{byte}, out int, ReadOnlySpan{char}, IFormatProvider?)" />