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