2 writes to _parameters
System.Net.Http (2)
System\Net\Http\Headers\MediaTypeHeaderValue.cs (2)
61
public ICollection<NameValueHeaderValue> Parameters =>
_parameters
??= new UnvalidatedObjectCollection<NameValueHeaderValue>();
88
_parameters
= source._parameters.Clone();
10 references to _parameters
System.Net.Http (10)
System\Net\Http\Headers\MediaTypeHeaderValue.cs (10)
31
get => NameValueHeaderValue.Find(
_parameters
, CharSetName)?.Value;
36
NameValueHeaderValue? charSetParameter = NameValueHeaderValue.Find(
_parameters
, CharSetName);
42
_parameters
!.Remove(charSetParameter);
88
_parameters = source.
_parameters
.Clone();
116
if (
_parameters
is null ||
_parameters
.Count == 0)
123
NameValueHeaderValue.ToString(
_parameters
, ';', true, sb);
133
HeaderUtilities.AreEqualCollections(
_parameters
, other.
_parameters
);
144
return StringComparer.OrdinalIgnoreCase.GetHashCode(_mediaType!) ^ NameValueHeaderValue.GetHashCode(
_parameters
);