7 implementations of TryParse
System.Net.Primitives (3)
System\Net\IPAddress.cs (1)
272
static bool IUtf8SpanParsable<IPAddress>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) =>
System\Net\IPEndPoint.cs (1)
283
static bool IUtf8SpanParsable<IPEndPoint>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [NotNullWhen(true)] out IPEndPoint? result) => TryParse(utf8Text, out result);
System\Net\IPNetwork.cs (1)
375
static bool IUtf8SpanParsable<IPNetwork>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, out IPNetwork result) => TryParse(utf8Text, out result);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
271
static bool IUtf8SpanParsable<char>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, out char result)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
659
static unsafe bool IUtf8SpanParsable<TSelf>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out TSelf result)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
975
static bool IUtf8SpanParsable<Rune>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, out Rune result)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
352
static bool IUtf8SpanParsable<Version>.
TryParse
(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, [NotNullWhen(true)] out Version? result)
28 references to TryParse
System.Private.CoreLib (25)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1200
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
270
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1842
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
2550
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1864
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2393
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2131
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1406
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1457
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1460
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
1459
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
2114
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
794
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
805
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
798
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1880
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1385
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
2238
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
974
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
2209
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
1205
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
1276
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
1277
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
1258
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
351
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)"/>
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (1)
5555
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
System\Numerics\Complex.cs (1)
938
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />
System\Numerics\Complex.Generic.cs (1)
2144
/// <inheritdoc cref="IUtf8SpanParsable{TSelf}.
TryParse
(ReadOnlySpan{byte}, IFormatProvider?, out TSelf)" />