6 writes to ParsedAndInvalidValues
System.Net.Http (6)
System\Net\Http\Headers\HttpHeaders.cs (6)
463info.ParsedAndInvalidValues = null; 515info.ParsedAndInvalidValues = null; 561info.ParsedAndInvalidValues = null; 697destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 1017AddValueToStoreValue<object>(value, ref info.ParsedAndInvalidValues); 1022AddValueToStoreValue<object>(new InvalidValue(value), ref info.ParsedAndInvalidValues);
29 references to ParsedAndInvalidValues
System.Net.Http (29)
System\Net\Http\Headers\HttpHeaders.cs (29)
98if (addToStore && (info.ParsedAndInvalidValues != null)) 151if (addToStore && (info.ParsedAndInvalidValues != null)) 496var parsedValue = info.ParsedAndInvalidValues; 591var parsedValue = info.ParsedAndInvalidValues; 697destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 702if (sourceInfo.ParsedAndInvalidValues != null) 704List<object>? sourceValues = sourceInfo.ParsedAndInvalidValues as List<object>; 707CloneAndAddValue(destinationInfo, sourceInfo.ParsedAndInvalidValues); 870Debug.Assert(info.ParsedAndInvalidValues is not null); 912if (result && addToStore && (info.ParsedAndInvalidValues != null)) 945if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out object? parsedValue)) 954else if (addWhenInvalid && info.ParsedAndInvalidValues is null) 972if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out parsedValue)) 995if (parsedValues.Count == 0 && addWhenInvalid && info.ParsedAndInvalidValues is null) 1072return info.ParsedAndInvalidValues; 1110object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1137parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1248ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1284ReadStoreValues<object?>(values!, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1297return Count<object>(info.ParsedAndInvalidValues) + Count<string>(info.RawValue); 1374return parser.SupportsMultipleValues || ParsedAndInvalidValues is null; 1380if (ParsedAndInvalidValues is not null) 1382if (ParsedAndInvalidValues is List<object> list) 1391Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1398if (ParsedAndInvalidValues is not null) 1400if (ParsedAndInvalidValues is List<object> list) 1413if (ParsedAndInvalidValues is not InvalidValue) 1415return ParsedAndInvalidValues; 1438public bool IsEmpty => RawValue == null && ParsedAndInvalidValues == null;