2 references to TryParse
Microsoft.AspNetCore.HeaderParsing (1)
Parsers\HostHeaderValueParser.cs (1)
15
if (values.Count != 1 || !HostHeaderValue.
TryParse
(values[0]!, out var parsedValue))
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HostHeaderValueTests.cs (1)
84
Assert.False(HostHeaderValue.
TryParse
(string.Empty, out var _));