4 writes to _parameters
Microsoft.Net.Http.Headers (4)
MediaTypeHeaderValue.cs (4)
192
_parameters
= ObjectCollection<NameValueHeaderValue>.EmptyReadOnlyCollection;
196
_parameters
= new ObjectCollection<NameValueHeaderValue>();
410
other.
_parameters
= new ObjectCollection<NameValueHeaderValue>(
432
other.
_parameters
= new ObjectCollection<NameValueHeaderValue>(
19 references to _parameters
Microsoft.Net.Http.Headers (19)
MediaTypeHeaderValue.cs (19)
76
return NameValueHeaderValue.Find(
_parameters
, CharsetString)?.Value ?? default;
83
var charsetParameter = NameValueHeaderValue.Find(
_parameters
, CharsetString);
152
return NameValueHeaderValue.Find(
_parameters
, BoundaryString)?.Value ?? default(StringSegment);
157
var boundaryParameter = NameValueHeaderValue.Find(
_parameters
, BoundaryString);
188
if (
_parameters
== null)
199
return
_parameters
;
209
get => HeaderUtilities.GetQuality(
_parameters
);
408
if (
_parameters
!= null)
411
_parameters
.Select(item => item.Copy()));
430
if (
_parameters
!= null)
433
_parameters
.Select(item => item.CopyAsReadOnly()), isReadOnly: true);
469
NameValueHeaderValue.ToString(
_parameters
, separator: ';', leadingSeparator: true, destination: builder);
484
HeaderUtilities.AreEqualCollections(
_parameters
, other.
_parameters
);
491
return StringSegmentComparer.OrdinalIgnoreCase.GetHashCode(_mediaType) ^ NameValueHeaderValue.GetHashCode(
_parameters
);
785
if (set.
_parameters
!= null && set.
_parameters
.Count != 0)
789
foreach (var parameter in set.
_parameters
)
805
var localParameter = NameValueHeaderValue.Find(
_parameters
, parameter.Name);