10 writes to CacheStatusCode
System (10)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (6)
416ctx.CacheStatusCode = resp.StatusCode; 1123ctx.CacheStatusCode = resp.StatusCode; 1134ctx.CacheStatusCode = HttpStatusCode.OK; 1546ctx.CacheStatusCode = HttpStatusCode.OK; 1704ctx.CacheStatusCode = HttpStatusCode.PartialContent; 1718ctx.CacheStatusCode = HttpStatusCode.OK;
net\System\Net\Cache\HttpRequestCacheValidator.cs (4)
312CacheStatusCode = (HttpStatusCode) 0; 571CacheStatusCode = (HttpStatusCode)0; 629CacheStatusCode = (HttpStatusCode)status; 809CacheStatusCode = HttpStatusCode.OK;
18 references to CacheStatusCode
System (18)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (7)
310if (ctx.CacheStatusCode == HttpStatusCode.NotModified) { 682if (ctx.CacheStream == Stream.Null || (int)ctx.CacheStatusCode == 0) { 1046if ((ctx.CacheStream == Stream.Null || (int)ctx.CacheStatusCode == 0) && resp.StatusCode == HttpStatusCode.NotModified) { 1272if (ctx.CacheStream == Stream.Null || ctx.CacheStatusCode == (HttpStatusCode)0) { 1276if (ctx.CacheEntityLength != ctx.CacheEntry.StreamSize || ctx.CacheStatusCode == HttpStatusCode.PartialContent) { 1543if (ctx.CacheStatusCode == HttpStatusCode.PartialContent && ctx.CacheEntityLength == ctx.CacheEntry.StreamSize) 1550if (ctx.CacheEntry.IsPartialEntry || (ctx.CacheEntityLength != -1 && ctx.CacheEntityLength != ctx.CacheEntry.StreamSize) || ctx.CacheStatusCode == HttpStatusCode.PartialContent)
net\System\Net\Cache\HttpRequestCacheValidator.cs (9)
223if ((int) CacheStatusCode == 0) { 227Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_status_line, (CacheHttpVersion != null ? CacheHttpVersion.ToString() : "null"), (int)CacheStatusCode, CacheStatusDescription)); 232CreateCacheHeaders((int)CacheStatusCode != 0); 258if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified) 334if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified) 500sb.Append(((int)CacheStatusCode).ToString(NumberFormatInfo.InvariantInfo)); 779if ((forCache? CacheStatusCode: resp.StatusCode) != HttpStatusCode.PartialContent) {
net\System\Net\HttpWebRequest.cs (2)
4236responseData.m_StatusCode = ctx.CacheStatusCode; 4298responseData.m_StatusCode = ctx.CacheStatusCode;