1 write to Port
Microsoft.AspNetCore.HeaderParsing (1)
HostHeaderValue.cs (1)
24
Port
= port;
6 references to Port
Microsoft.AspNetCore.HeaderParsing (5)
HostHeaderValue.cs (5)
93
public bool Equals(HostHeaderValue other) => Host.Equals(other.Host, StringComparison.Ordinal) &&
Port
== other.
Port
;
106
public override int GetHashCode() => HashCode.Combine(Host,
Port
);
114
if (
Port
.HasValue)
116
return $"{Host}:{
Port
.Value}";
Microsoft.AspNetCore.HeaderParsing.Tests (1)
ParserTests.cs (1)
23
Assert.Null(result.
Port
);