1 instantiation of InvalidValue
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
942AddValueToStoreValue<object>(new InvalidValue(value), ref info.ParsedAndInvalidValues);
20 references to InvalidValue
System.Net.Http (20)
System\Net\Http\Headers\CacheControlHeaderParser.cs (2)
32if (item is not HttpHeaders.InvalidValue) 42if (storeValue is not HttpHeaders.InvalidValue)
System\Net\Http\Headers\HttpHeaders.cs (12)
445if (parsedValue is not InvalidValue) 461if (item is not InvalidValue) 523if (parsedValue is not InvalidValue) 535if (item is not InvalidValue) 648Debug.Assert(source is not InvalidValue); 1236values[currentIndex] = parser == null || storeValue is InvalidValue ? storeValue.ToString() : parser.ToString(storeValue); 1244values[currentIndex] = parser == null || item is InvalidValue ? item.ToString() : parser.ToString(item); 1309Debug.Assert(item is not InvalidValue); 1314Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1328if (item is not InvalidValue) 1336if (ParsedAndInvalidValues is not InvalidValue) 1352if (item is not InvalidValue)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (6)
100if (storeValue is not HttpHeaders.InvalidValue) 114if (item is not HttpHeaders.InvalidValue) 138return storeValue is null || storeValue is HttpHeaders.InvalidValue ? 149if (item is HttpHeaders.InvalidValue) 210if (storeValue is not HttpHeaders.InvalidValue) 221if (item is not HttpHeaders.InvalidValue)