6 references to GetHostLength
System.Net.Http (6)
System\Net\Http\Headers\GenericHeaderParser.cs (1)
136int hostLength = HttpRuleParser.GetHostLength(value, startIndex, false);
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
117if ((value != null) && (HttpRuleParser.GetHostLength(value, 0, false) != value.Length))
System\Net\Http\Headers\ViaHeaderValue.cs (2)
160int receivedByLength = HttpRuleParser.GetHostLength(input, current, true); 262if (HttpRuleParser.GetHostLength(receivedBy, 0, true) != receivedBy.Length)
System\Net\Http\Headers\WarningHeaderValue.cs (2)
186int agentLength = HttpRuleParser.GetHostLength(input, current, true); 297if (HttpRuleParser.GetHostLength(agent, 0, true) != agent.Length)