6 writes to ParsedAndInvalidValues
System.Net.Http (6)
System\Net\Http\Headers\HttpHeaders.cs (6)
463info.ParsedAndInvalidValues = null; 515info.ParsedAndInvalidValues = null; 544info.ParsedAndInvalidValues = null; 680destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 1000AddValueToStoreValue<object>(value, ref info.ParsedAndInvalidValues); 1005AddValueToStoreValue<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; 574var parsedValue = info.ParsedAndInvalidValues; 680destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 685if (sourceInfo.ParsedAndInvalidValues != null) 687List<object>? sourceValues = sourceInfo.ParsedAndInvalidValues as List<object>; 690CloneAndAddValue(destinationInfo, sourceInfo.ParsedAndInvalidValues); 853Debug.Assert(info.ParsedAndInvalidValues is not null); 895if (result && addToStore && (info.ParsedAndInvalidValues != null)) 928if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out object? parsedValue)) 937else if (addWhenInvalid && info.ParsedAndInvalidValues is null) 955if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out parsedValue)) 978if (parsedValues.Count == 0 && addWhenInvalid && info.ParsedAndInvalidValues is null) 1055return info.ParsedAndInvalidValues; 1093object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1120parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1231ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1267ReadStoreValues<object?>(values!, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1280return Count<object>(info.ParsedAndInvalidValues) + Count<string>(info.RawValue); 1357return parser.SupportsMultipleValues || ParsedAndInvalidValues is null; 1363if (ParsedAndInvalidValues is not null) 1365if (ParsedAndInvalidValues is List<object> list) 1374Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1381if (ParsedAndInvalidValues is not null) 1383if (ParsedAndInvalidValues is List<object> list) 1396if (ParsedAndInvalidValues is not InvalidValue) 1398return ParsedAndInvalidValues; 1421public bool IsEmpty => RawValue == null && ParsedAndInvalidValues == null;