1 interface inheriting from IUtf8SpanFormattable
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
30IUtf8SpanFormattable,
29 implementations of IUtf8SpanFormattable
System.Net.Primitives (2)
System\Net\IPAddress.cs (1)
22public class IPAddress : ISpanFormattable, ISpanParsable<IPAddress>, IUtf8SpanFormattable, IUtf8SpanParsable<IPAddress>
System\Net\IPNetwork.cs (1)
24public readonly struct IPNetwork : IEquatable<IPNetwork>, ISpanFormattable, ISpanParsable<IPNetwork>, IUtf8SpanFormattable, IUtf8SpanParsable<IPNetwork>
System.Private.CoreLib (26)
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)
29IUtf8SpanFormattable
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\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)
35IUtf8SpanFormattable
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)
22public sealed class Version : ICloneable, IComparable, IComparable<Version?>, IEquatable<Version?>, ISpanFormattable, IUtf8SpanFormattable, IUtf8SpanParsable<Version>
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
23IUtf8SpanFormattable
39 references to IUtf8SpanFormattable
Microsoft.AspNetCore.Components (1)
SupplyParameterFromPersistentComponentStateValueProvider.cs (1)
138if (key is IUtf8SpanFormattable spanFormattable)
System.Net.Primitives (2)
System\Net\IPAddress.cs (1)
492bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System\Net\IPNetwork.cs (1)
359bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System.Private.CoreLib (34)
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)
190/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" /> 191bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
787/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1776/// <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)
380/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1165bool 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)
214/// <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)
375/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
938bool 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)
444if (value is IUtf8SpanFormattable) 446if (((IUtf8SpanFormattable)value).TryFormat(_destination.Slice(_pos), out int bytesWritten, format: default, _provider)) 497if (value is IUtf8SpanFormattable) 499if (((IUtf8SpanFormattable)value).TryFormat(_destination.Slice(_pos), out int bytesWritten, format, _provider))
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
960/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
868/// <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)
210/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" />
src\libraries\System.Private.CoreLib\src\System\Version.cs (2)
273/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat" /> 274bool IUtf8SpanFormattable.TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format, IFormatProvider? provider) =>
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
338[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IUtf8SpanFormattable))]
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
2203/// <inheritdoc cref="IUtf8SpanFormattable.TryFormat(Span{byte}, out int, ReadOnlySpan{char}, IFormatProvider?)" />