1 interface inheriting from ISpanParsable
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
26
ISpanParsable
<TSelf>,
12 implementations of ISpanParsable
System.Net.Primitives (3)
System\Net\IPAddress.cs (1)
20
public class IPAddress : ISpanFormattable,
ISpanParsable
<IPAddress>, IUtf8SpanFormattable, IUtf8SpanParsable<IPAddress>
System\Net\IPEndPoint.cs (1)
17
public class IPEndPoint : EndPoint, ISpanFormattable,
ISpanParsable
<IPEndPoint>, IUtf8SpanFormattable, IUtf8SpanParsable<IPEndPoint>
System\Net\IPNetwork.cs (1)
22
public readonly struct IPNetwork : IEquatable<IPNetwork>, ISpanFormattable,
ISpanParsable
<IPNetwork>, IUtf8SpanFormattable, IUtf8SpanParsable<IPNetwork>
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
21
ISpanParsable
<bool>
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
21
ISpanParsable
<DateOnly>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
56
ISpanParsable
<DateTime>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
45
ISpanParsable
<DateTimeOffset>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
30
ISpanParsable
<Guid>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
34
ISpanParsable
<string>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
36
,
ISpanParsable
<Rune>
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
20
ISpanParsable
<TimeOnly>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
28
ISpanParsable
<TimeSpan>,
86 references to ISpanParsable
Microsoft.AspNetCore.Components.Endpoints (5)
FormMapping\Converters\DictionaryAdapters\ImmutableDictionaryBufferAdapter.cs (1)
10
where TKey :
ISpanParsable
<TKey>
FormMapping\Converters\DictionaryAdapters\ReadOnlyDictionaryBufferAdapter.cs (1)
10
where TKey :
ISpanParsable
<TKey>
FormMapping\Converters\DictionaryConverter.cs (1)
15
where TKey :
ISpanParsable
<TKey>
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
9
where TKey :
ISpanParsable
<TKey>
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (1)
12
where TKey :
ISpanParsable
<TKey>
Microsoft.AspNetCore.Http.Extensions (5)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\ImmutableDictionaryBufferAdapter.cs (1)
10
where TKey :
ISpanParsable
<TKey>
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\ReadOnlyDictionaryBufferAdapter.cs (1)
10
where TKey :
ISpanParsable
<TKey>
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryConverter.cs (1)
15
where TKey :
ISpanParsable
<TKey>
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
9
where TKey :
ISpanParsable
<TKey>
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (1)
12
where TKey :
ISpanParsable
<TKey>
Microsoft.DotNet.Cli.CommandLine (10)
SpanParsableExtensions.cs (10)
12
extension<T>(Option<T> o) where T :
ISpanParsable
<T>
15
/// Configures the option with a custom parser that uses the <see cref="
ISpanParsable
{T}"/> implementation to parse the tokens provided.
29
extension<T>(Option<IReadOnlyCollection<T>> o) where T :
ISpanParsable
<T>
32
/// Configures the option with a custom parser that uses the <see cref="
ISpanParsable
{T}"/> implementation to parse the tokens provided.
46
extension<T>(Argument<T> a) where T :
ISpanParsable
<T>
49
/// Configures the argument with a custom parser that uses the <see cref="
ISpanParsable
{T}"/> implementation to parse the value.
63
extension<T>(Argument<IReadOnlyCollection<T>> a) where T :
ISpanParsable
<T>
66
/// Configures the argument with a custom parser that uses the <see cref="
ISpanParsable
{T}"/> implementation to parse the value.
81
where T :
ISpanParsable
<T>
121
where T :
ISpanParsable
<T>
System.Net.Primitives (6)
System\Net\IPAddress.cs (2)
281
static bool
ISpanParsable
<IPAddress>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) =>
313
static IPAddress
ISpanParsable
<IPAddress>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) =>
System\Net\IPEndPoint.cs (2)
233
static IPEndPoint
ISpanParsable
<IPEndPoint>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => Parse(s);
260
static bool
ISpanParsable
<IPEndPoint>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, [NotNullWhen(true)] out IPEndPoint? result) => TryParse(s, out result);
System\Net\IPNetwork.cs (2)
366
static IPNetwork
ISpanParsable
<IPNetwork>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => Parse(s);
372
static bool
ISpanParsable
<IPNetwork>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out IPNetwork result) => TryParse(s, out result);
System.Private.CoreLib (55)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Boolean.cs (2)
413
static bool
ISpanParsable
<bool>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => Parse(s);
415
static bool
ISpanParsable
<bool>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out bool result) => TryParse(s, out result);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (2)
1131
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1134
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
1987
static char
ISpanParsable
<char>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => Parse(s);
1989
static bool
ISpanParsable
<char>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out char result) => TryParse(s, out result);
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (2)
902
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
905
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (2)
2055
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
2058
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (2)
1040
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1043
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1802
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1805
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1808
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1811
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (2)
1847
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1850
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
2211
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
2214
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
2041
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
2044
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
1328
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1331
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1395
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1398
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1398
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1401
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\ISpanParsable.cs (1)
11
where TSelf :
ISpanParsable
<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
1985
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1988
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1757
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1760
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
1307
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1310
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1724
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1727
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (2)
772
static string
ISpanParsable
<string>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider)
781
static bool
ISpanParsable
<string>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out string result)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (4)
1026
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1027
static Rune
ISpanParsable
<Rune>.Parse(ReadOnlySpan<char> s, IFormatProvider? provider)
1037
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
1038
static bool
ISpanParsable
<Rune>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out Rune result)
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (4)
455
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
633
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
1071
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1074
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
2118
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
2121
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (2)
1136
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1139
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (2)
1207
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1210
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (2)
1208
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
1211
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
343
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ISpanParsable
<>))]
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (2)
5350
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
5353
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
System\Numerics\Complex.cs (2)
2313
/// <inheritdoc cref="
ISpanParsable
{TSelf}.Parse(ReadOnlySpan{char}, IFormatProvider?)" />
2316
/// <inheritdoc cref="
ISpanParsable
{TSelf}.TryParse(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />