6 references to TryParse
Microsoft.AspNetCore.Components (2)
Routing\UrlValueConstraint.cs (2)
82
var x when x == typeof(Guid) => new TypedUrlValueConstraint<Guid>(Guid.
TryParse
),
83
var x when x == typeof(Guid?) => new NullableTypedUrlValueConstraint<Guid>(Guid.
TryParse
),
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (2)
354
return
TryParse
((ReadOnlySpan<char>)input, out result);
1749
public static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out Guid result) =>
TryParse
(s, out result);
System.Transactions.Local (2)
System\Transactions\TransactionsEtwProvider.cs (2)
1418
Guid.
TryParse
(str.AsSpan(0, 36), out guid);
1425
Guid.
TryParse
(str.AsSpan(0, 32), out guid);