2 writes to _value
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (2)
38
_value
= value;
65
_value
= host + ":" + port.ToString(CultureInfo.InvariantCulture);
11 references to _value
Microsoft.AspNetCore.Http.Abstractions (11)
HostString.cs (11)
73
get { return
_value
; }
79
[MemberNotNullWhen(true, nameof(
_value
))]
83
get { return !string.IsNullOrEmpty(
_value
); }
95
GetParts(
_value
, out var host, out _);
109
GetParts(
_value
, out _, out var port);
142
if (!
_value
.AsSpan().ContainsAnyExcept(s_safeHostStringChars))
144
return
_value
;
147
GetParts(
_value
, out var host, out var port);
287
return string.Equals(
_value
, other.
_value
, StringComparison.OrdinalIgnoreCase);
310
return (HasValue ? StringComparer.OrdinalIgnoreCase.GetHashCode(
_value
) : 0);