4 writes to contentHeaders
System.Data.Services.Client (4)
System\Data\Services\Client\BatchStream.cs (4)
429
this.
contentHeaders
= null;
756
this.
contentHeaders
= null;
834
this.
contentHeaders
= null;
1312
this.
contentHeaders
= new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
12 references to contentHeaders
System.Data.Services.Client (12)
System\Data\Services\Client\BatchStream.cs (12)
128
get { return this.
contentHeaders
; }
427
Debug.Assert(null != this.
contentHeaders
, "null contentHeaders");
456
Debug.Assert(null == this.
contentHeaders
, "non-null content headers");
547
if (this.
contentHeaders
.TryGetValue(XmlConstants.HttpContentType, out contentType))
554
if (this.
contentHeaders
.Count != 2)
562
if (!this.
contentHeaders
.TryGetValue(XmlConstants.HttpContentTransferEncoding, out transferEncoding) ||
594
if (this.
contentHeaders
.Count > 2 ||
595
(this.
contentHeaders
.Count == 2 && !this.
contentHeaders
.ContainsKey(XmlConstants.HttpContentLength)))
622
this.
contentHeaders
.TryGetValue(XmlConstants.HttpContentType, out contentType);
632
if (this.
contentHeaders
.TryGetValue(XmlConstants.HttpContentLength, out text))
1326
this.
contentHeaders
.Add(name, value);