6 references to ContainsNewLine
System.Net.Http (6)
System\Net\Http\Headers\AuthenticationHeaderValue.cs (1)
122
if (string.IsNullOrEmpty(input) || (startIndex >= input.Length) || HttpRuleParser.
ContainsNewLine
(input, startIndex))
System\Net\Http\Headers\GenericHeaderParser.cs (1)
122
if (HttpRuleParser.
ContainsNewLine
(value, startIndex))
System\Net\Http\Headers\HttpHeaders.cs (2)
809
if (HttpRuleParser.
ContainsNewLine
(rawValue))
1137
if (HttpRuleParser.
ContainsNewLine
(value))
System\Net\Http\Headers\NameValueHeaderValue.cs (1)
374
else if (HttpRuleParser.
ContainsNewLine
(value))
System\Net\Http\HttpResponseMessage.cs (1)
93
if ((value != null) && HttpRuleParser.
ContainsNewLine
(value))