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