6 writes to ParsedAndInvalidValues
System.Net.Http (6)
System\Net\Http\Headers\HttpHeaders.cs (6)
465info.ParsedAndInvalidValues = null; 519info.ParsedAndInvalidValues = null; 565info.ParsedAndInvalidValues = null; 701destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 1021AddValueToStoreValue<object>(value, ref info.ParsedAndInvalidValues); 1026AddValueToStoreValue<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)) 500var parsedValue = info.ParsedAndInvalidValues; 595var parsedValue = info.ParsedAndInvalidValues; 701destinationInfo.ParsedAndInvalidValues = CloneStringHeaderInfoValues(sourceInfo.ParsedAndInvalidValues); 706if (sourceInfo.ParsedAndInvalidValues != null) 708List<object>? sourceValues = sourceInfo.ParsedAndInvalidValues as List<object>; 711CloneAndAddValue(destinationInfo, sourceInfo.ParsedAndInvalidValues); 874Debug.Assert(info.ParsedAndInvalidValues is not null); 916if (result && addToStore && (info.ParsedAndInvalidValues != null)) 949if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out object? parsedValue)) 958else if (addWhenInvalid && info.ParsedAndInvalidValues is null) 976if (descriptor.Parser.TryParseValue(value, info.ParsedAndInvalidValues, ref index, out parsedValue)) 999if (parsedValues.Count == 0 && addWhenInvalid && info.ParsedAndInvalidValues is null) 1076return info.ParsedAndInvalidValues; 1114object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1141parsedValue = descriptor.Parser.ParseValue(value, info.ParsedAndInvalidValues, ref index); 1252ReadStoreValues<object?>(values, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1288ReadStoreValues<object?>(values!, info.ParsedAndInvalidValues, descriptor.Parser, ref currentIndex); 1301return Count<object>(info.ParsedAndInvalidValues) + Count<string>(info.RawValue); 1378return parser.SupportsMultipleValues || ParsedAndInvalidValues is null; 1384if (ParsedAndInvalidValues is not null) 1386if (ParsedAndInvalidValues is List<object> list) 1395Debug.Assert(ParsedAndInvalidValues is not InvalidValue); 1402if (ParsedAndInvalidValues is not null) 1404if (ParsedAndInvalidValues is List<object> list) 1417if (ParsedAndInvalidValues is not InvalidValue) 1419return ParsedAndInvalidValues; 1442public bool IsEmpty => RawValue == null && ParsedAndInvalidValues == null;