6 writes to ParsedAndInvalidValues
System.Net.Http (6)
System\Net\Http\Headers\HttpHeaders.cs (6)
408info.ParsedAndInvalidValues = null; 460info.ParsedAndInvalidValues = null; 489info.ParsedAndInvalidValues = null; 625destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 945AddValueToStoreValue<object>(value, ref info.ParsedAndInvalidValues); 950AddValueToStoreValue<object>(new InvalidValue(value), ref info.ParsedAndInvalidValues);
29 references to ParsedAndInvalidValues
System.Net.Http (29)
System\Net\Http\Headers\HttpHeaders.cs (29)
89if (addToStore && (info.ParsedAndInvalidValues != null)) 121if (addToStore && (info.ParsedAndInvalidValues != null)) 441var parsedValue = info.ParsedAndInvalidValues; 519var parsedValue = info.ParsedAndInvalidValues; 625destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 630if (sourceInfo.ParsedAndInvalidValues != null) 632List<object>? sourceValues = sourceInfo.ParsedAndInvalidValues as List<object>; 635CloneAndAddValue(destinationInfo, sourceInfo.ParsedAndInvalidValues); 798Debug.Assert(info.ParsedAndInvalidValues is not null); 840if (result && addToStore && (info.ParsedAndInvalidValues != null)) 873if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out object? parsedValue)) 882else if (addWhenInvalid && info.ParsedAndInvalidValues is null) 900if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out parsedValue)) 923if (parsedValues.Count == 0 && addWhenInvalid && info.ParsedAndInvalidValues is null) 1000return info.ParsedAndInvalidValues; 1041object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1068parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1179ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1215ReadStoreValues<object?>(values!, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1228return Count<object>(info.ParsedAndInvalidValues) + Count<string>(info.RawValue); 1305return parser.SupportsMultipleValues || ParsedAndInvalidValues is null; 1311if (ParsedAndInvalidValues is not null) 1313if (ParsedAndInvalidValues is List<object> list) 1322Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1329if (ParsedAndInvalidValues is not null) 1331if (ParsedAndInvalidValues is List<object> list) 1344if (ParsedAndInvalidValues is not InvalidValue) 1346return ParsedAndInvalidValues; 1369public bool IsEmpty => RawValue == null && ParsedAndInvalidValues == null;