1 instantiation of InvalidValue
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
1022AddValueToStoreValue<object>(new InvalidValue(value), ref info.ParsedAndInvalidValues);
21 references to InvalidValue
System.Net.Http (21)
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 (13)
508if (parsedValue is not InvalidValue) 525if (item is not InvalidValue) 550parsedValues.RemoveAll(item => item is not InvalidValue && AreEqual(valueLocal, item, comparerLocal)); 603if (parsedValue is not InvalidValue) 615if (item is not InvalidValue) 728Debug.Assert(source is not InvalidValue); 1313values[currentIndex] = parser == null || storeValue is InvalidValue ? storeValue.ToString() : parser.ToString(storeValue); 1321values[currentIndex] = parser == null || item is InvalidValue ? item.ToString() : parser.ToString(item); 1386Debug.Assert(item is not InvalidValue); 1391Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1405if (item is not InvalidValue) 1413if (ParsedAndInvalidValues is not InvalidValue) 1429if (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)