1 instantiation of InvalidValue
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
1026
AddValueToStoreValue<object>(new
InvalidValue
(value), ref info.ParsedAndInvalidValues);
21 references to InvalidValue
System.Net.Http (21)
System\Net\Http\Headers\CacheControlHeaderParser.cs (2)
32
if (item is not HttpHeaders.
InvalidValue
)
42
if (storeValue is not HttpHeaders.
InvalidValue
)
System\Net\Http\Headers\HttpHeaders.cs (13)
512
if (parsedValue is not
InvalidValue
)
529
if (item is not
InvalidValue
)
554
parsedValues.RemoveAll(item => item is not
InvalidValue
&& AreEqual(valueLocal, item, comparerLocal));
607
if (parsedValue is not
InvalidValue
)
619
if (item is not
InvalidValue
)
732
Debug.Assert(source is not
InvalidValue
);
1317
values[currentIndex] = parser == null || storeValue is
InvalidValue
? storeValue.ToString() : parser.ToString(storeValue);
1325
values[currentIndex] = parser == null || item is
InvalidValue
? item.ToString() : parser.ToString(item);
1390
Debug.Assert(item is not
InvalidValue
);
1395
Debug.Assert(ParsedAndInvalidValues is not
InvalidValue
);
1409
if (item is not
InvalidValue
)
1417
if (ParsedAndInvalidValues is not
InvalidValue
)
1433
if (item is not
InvalidValue
)
System\Net\Http\Headers\HttpHeaderValueCollection.cs (6)
100
if (storeValue is not HttpHeaders.
InvalidValue
)
114
if (item is not HttpHeaders.
InvalidValue
)
138
return storeValue is null || storeValue is HttpHeaders.
InvalidValue
?
149
if (item is HttpHeaders.
InvalidValue
)
210
if (storeValue is not HttpHeaders.
InvalidValue
)
221
if (item is not HttpHeaders.
InvalidValue
)