38 if (!
parser.SupportsMultipleValues)
127 value =
string.Empty;
348 orCreateHeaderInfo.InvalidValue =
null;
349 orCreateHeaderInfo.ParsedValue =
null;
350 orCreateHeaderInfo.RawValue =
null;
388 if (
info.ParsedValue ==
null)
398 info.ParsedValue =
null;
414 info.ParsedValue =
null;
419 bool flag =
Remove(descriptor);
434 if (
info.ParsedValue ==
null)
488 if (descriptor.
Parser ==
null)
620 if (
info.RawValue !=
null)
630 info.RawValue =
null;
631 if (
info.InvalidValue ==
null &&
info.ParsedValue ==
null)
645 if (descriptor.
Parser ==
null)
668 if (descriptor.
Parser ==
null)
694 if (!
info.CanAddParsedValue(descriptor.
Parser))
785 return info.ParsedValue;
809 if (descriptor.
Parser ==
null)
815 if (!
info.CanAddParsedValue(descriptor.
Parser))
850 if (
string.IsNullOrEmpty(name))
864 return descriptor.AsCustomHeader();
871 if (
string.IsNullOrEmpty(name))
884 descriptor = descriptor.AsCustomHeader();
939 int currentIndex = 0;
967 int currentIndex = 0;
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
static CultureInfo InvariantCulture
static bool ContainsNewLine(string value, int startIndex=0)
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static string net_http_headers_invalid_header_name
static string Format(string resourceFormat, object p1)
static string net_http_argument_empty_string
static string net_http_headers_no_newlines
static string net_http_headers_not_found
static string net_http_headers_single_value_header
static string net_http_log_headers_no_newlines
static string net_http_headers_not_allowed_header_name
new IEnumerator< T > GetEnumerator()