4 implementations of TryParse
System.Net.Primitives (2)
System\Net\IPAddress.cs (1)
282
static bool ISpanParsable<IPAddress>.
TryParse
(ReadOnlySpan<char> s, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) =>
System\Net\IPNetwork.cs (1)
376
static bool ISpanParsable<IPNetwork>.
TryParse
(ReadOnlySpan<char> s, IFormatProvider? provider, out IPNetwork result) => TryParse(s, out result);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
415
static bool ISpanParsable<bool>.
TryParse
(ReadOnlySpan<char> s, IFormatProvider? provider, out bool result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1950
static bool ISpanParsable<char>.
TryParse
(ReadOnlySpan<char> s, IFormatProvider? provider, out char result) => TryParse(s, out result);
22 references to TryParse
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\DictionaryConverter.cs (1)
66
if (!TKey.
TryParse
(key[1..^1].Span, CultureInfo.InvariantCulture, out var keyValue))
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\DictionaryConverter.cs (1)
66
if (!TKey.
TryParse
(key[1..^1].Span, CultureInfo.InvariantCulture, out var keyValue))
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1133
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
845
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
2041
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
1043
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1826
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1785
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1748
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2203
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1337
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1379
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1382
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1833
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1300
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1701
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (2)
604
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
1015
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
1152
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
1197
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
1190
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
2256
/// <inheritdoc cref="ISpanParsable{TSelf}.
TryParse
(ReadOnlySpan{char}, IFormatProvider?, out TSelf)" />