1 instantiation of InvalidValue
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
943
AddValueToStoreValue<object>(new
InvalidValue
(value), ref info.ParsedAndInvalidValues);
20 references to InvalidValue
System.Net.Http (20)
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 (12)
446
if (parsedValue is not
InvalidValue
)
462
if (item is not
InvalidValue
)
524
if (parsedValue is not
InvalidValue
)
536
if (item is not
InvalidValue
)
649
Debug.Assert(source is not
InvalidValue
);
1237
values[currentIndex] = parser == null || storeValue is
InvalidValue
? storeValue.ToString() : parser.ToString(storeValue);
1245
values[currentIndex] = parser == null || item is
InvalidValue
? item.ToString() : parser.ToString(item);
1310
Debug.Assert(item is not
InvalidValue
);
1315
Debug.Assert(ParsedAndInvalidValues is not
InvalidValue
);
1329
if (item is not
InvalidValue
)
1337
if (ParsedAndInvalidValues is not
InvalidValue
)
1353
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
)