5 references to TryParse
Microsoft.AspNetCore.Components (2)
Routing\UrlValueConstraint.cs (2)
68var x when x == typeof(bool) => new TypedUrlValueConstraint<bool>(bool.TryParse), 69var x when x == typeof(bool?) => new NullableTypedUrlValueConstraint<bool>(bool.TryParse),
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (3)
229if (!TryParse(value, out bool result)) 239TryParse(value.AsSpan(), out result); 415static bool ISpanParsable<bool>.TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out bool result) => TryParse(s, out result);