8 implementations of TryParse
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ParameterBindingMethodCacheTests.cs (1)
1534
static bool IParsable<TodoWithExplicitIParsable>.
TryParse
(string? s, IFormatProvider? provider, out TodoWithExplicitIParsable result)
RequestDelegateGenerator\SharedTypes.cs (1)
1042
static bool IParsable<TodoWithExplicitIParsable>.
TryParse
(string s, IFormatProvider provider, out TodoWithExplicitIParsable result)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
1042
static bool IParsable<TodoWithExplicitIParsable>.
TryParse
(string s, IFormatProvider provider, out TodoWithExplicitIParsable result)
System.Net.Primitives (2)
System\Net\IPAddress.cs (1)
275
static bool IParsable<IPAddress>.
TryParse
([NotNullWhen(true)] string? s, IFormatProvider? provider, [NotNullWhen(true)] out IPAddress? result) =>
System\Net\IPNetwork.cs (1)
363
static bool IParsable<IPNetwork>.
TryParse
([NotNullWhen(true)] string? s, IFormatProvider? provider, out IPNetwork result) => TryParse(s, out result);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
407
static bool IParsable<bool>.
TryParse
([NotNullWhen(true)] string? s, IFormatProvider? provider, out bool result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1962
static bool IParsable<char>.
TryParse
([NotNullWhen(true)] string? s, IFormatProvider? provider, out char result) => TryParse(s, out result);
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
762
static bool IParsable<string>.
TryParse
([NotNullWhen(true)] string? s, IFormatProvider? provider, [MaybeNullWhen(returnValue: false)] out string result)
26 references to TryParse
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\ParsableConverter.cs (1)
15
if (T.
TryParse
(value, reader.Culture, out result!))
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\ParsableConverter.cs (1)
15
if (T.
TryParse
(value, reader.Culture, out result!))
System.Private.CoreLib (22)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1110
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
835
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
2031
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
1033
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1809
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1472
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
1827
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2175
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1928
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1307
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1373
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1376
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
249
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1793
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1270
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1491
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
1005
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
2006
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
1129
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
1174
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
1167
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
278
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
5276
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />
System\Numerics\Complex.cs (1)
2185
/// <inheritdoc cref="IParsable{TSelf}.
TryParse
(string?, IFormatProvider?, out TSelf)" />