2 writes to m_Entry
System (2)
net\System\Net\Cache\IERequestCache.cs (2)
817m_Entry = entry; 1026m_Entry = null;
34 references to m_Entry
System (34)
net\System\Net\Cache\IERequestCache.cs (34)
848lock (m_Entry) 877lock (m_Entry) 904lock (m_Entry) 943if (Interlocked.Exchange(ref m_Disposed, 1) == 0 && m_Entry != null) { 945lock (m_Entry) 961lock (m_Entry) 1009File.Delete(m_Entry.Filename); 1016if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()", m_Entry.Filename)); 1020_WinInetCache.Status errorStatus = _WinInetCache.Remove(m_Entry); 1023if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_delete_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1031m_Entry.OriginalUrl = null; 1044if (m_Entry.MetaInfo == null || m_Entry.MetaInfo.Length == 0 || 1045(m_Entry.MetaInfo != "\r\n" && m_Entry.MetaInfo.IndexOf("\r\n\r\n", StringComparison.Ordinal) == -1)) 1047m_Entry.MetaInfo = "\r\n"+ WinInetCache.c_SPARSE_ENTRY_HACK+"\r\n"; 1051m_Entry.MetaInfo += WinInetCache.c_SPARSE_ENTRY_HACK+"\r\n"; 1055if (_WinInetCache.Commit(m_Entry) != _WinInetCache.Status.Success) 1057if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_commit_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1061File.Delete(m_Entry.Filename); 1068if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()", m_Entry.Filename)); 1073Win32Exception win32Exception = new Win32Exception((int)m_Entry.Error); 1082Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()", m_Entry.Key, (m_StreamSize > 0 ? m_StreamSize.ToString(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown)))); 1083Logging.PrintInfo(Logging.RequestCache, "WinInetWriteStream.Close(), Key = " + m_Entry.Key + ", Commit Status = " + m_Entry.Error.ToString()); 1087if ((m_Entry.Info.EntryType & _WinInetCache.EntryType.StickyEntry) == _WinInetCache.EntryType.StickyEntry) 1089if (_WinInetCache.Update(m_Entry, _WinInetCache.Entry_FC.ExemptDelta) != _WinInetCache.Status.Success) 1091if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetWriteStream.Close(), Key = " + m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1094Win32Exception win32Exception = new Win32Exception((int)m_Entry.Error); 1099if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_stale_and_update_status, "WinInetWriteFile.Close()", m_Entry.Info.U.ExemptDelta, m_Entry.Error.ToString()));