8 writes to CacheStream
System (8)
net\System\Net\Cache\_RequestCacheProtocol.cs (7)
296
_Validator.
CacheStream
= Stream.Null;
301
_Validator.
CacheStream
= _RequestCache.Retrieve(_Validator.CacheKey, out cacheEntry);
307
_Validator.
CacheStream
= stream;
321
_Validator.
CacheStream
= Stream.Null;
393
_Validator.
CacheStream
= Stream.Null;
449
_Validator.
CacheStream
= Stream.Null;
550
_Validator.
CacheStream
= Stream.Null;
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
272
CacheStream
= new SyncMemoryStream(new byte[] {});
34 references to CacheStream
System (34)
net\System\Net\Cache\_RequestCacheProtocol.cs (23)
292
if (_Validator.
CacheStream
!= null && _Validator.
CacheStream
!= Stream.Null)
295
_Validator.
CacheStream
.Close();
317
if (_Validator.
CacheStream
== null)
332
if (_Validator.
CacheStream
== null || _Validator.
CacheStream
== Stream.Null)
341
Stream stream = _Validator.
CacheStream
;
343
_RequestCache.UnlockEntry(_Validator.
CacheStream
);
356
_ResponseStream = _Validator.
CacheStream
;
390
if (_ResponseStream == null && _Validator.
CacheStream
!= null && _Validator.
CacheStream
!= Stream.Null)
392
_Validator.
CacheStream
.Close();
477
if (_Validator.
CacheStream
== null || _Validator.
CacheStream
== Stream.Null)
485
Stream stream = _Validator.
CacheStream
;
498
if (_Validator.
CacheStream
== null || _Validator.
CacheStream
== Stream.Null)
510
stream = new CombinedReadStream(_Validator.
CacheStream
, responseStream);
515
stream = _Validator.
CacheStream
;
647
_RequestCache.UnlockEntry(_Validator.
CacheStream
);
672
if (_Validator.
CacheStream
== null || _Validator.
CacheStream
== Stream.Null) {
745
_RequestCache.UnlockEntry(_Validator.
CacheStream
);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (3)
682
if (ctx.
CacheStream
== Stream.Null || (int)ctx.CacheStatusCode == 0) {
1046
if ((ctx.
CacheStream
== Stream.Null || (int)ctx.CacheStatusCode == 0) && resp.StatusCode == HttpStatusCode.NotModified) {
1272
if (ctx.
CacheStream
== Stream.Null || ctx.CacheStatusCode == (HttpStatusCode)0) {
net\System\Net\Cache\FtpRequestCacheValidator.cs (4)
122
if (
CacheStream
!= Stream.Null)
199
if (
CacheStream
== Stream.Null || CacheEntry.IsPartialEntry)
206
if (
CacheStream
== Stream.Null)
264
if (
CacheStream
== Stream.Null)
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
258
if (
CacheStream
== Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified)
271
CacheStream
.Close();
334
if (
CacheStream
== Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified)
net\System\Net\FtpWebRequest.cs (1)
2184
m_Stream = new CombinedReadStream(CacheProtocol.Validator.
CacheStream
, m_FtpWebResponse.GetResponseStream());