3 writes to m_CommonHeaders
System (3)
net\System\Net\WebHeaderCollection.cs (3)
227m_CommonHeaders = null; 987m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1]; // Minus one for the sentinel. 1967m_CommonHeaders = null;
38 references to m_CommonHeaders
System (38)
net\System\Net\WebHeaderCollection.cs (38)
116return m_CommonHeaders != null ? m_CommonHeaders[c_ContentLength] : Get(s_CommonHeaderNames[c_ContentLength]); 124return m_CommonHeaders != null ? m_CommonHeaders[c_CacheControl] : Get(s_CommonHeaderNames[c_CacheControl]); 132return m_CommonHeaders != null ? m_CommonHeaders[c_ContentType] : Get(s_CommonHeaderNames[c_ContentType]); 140return m_CommonHeaders != null ? m_CommonHeaders[c_Date] : Get(s_CommonHeaderNames[c_Date]); 148return m_CommonHeaders != null ? m_CommonHeaders[c_Expires] : Get(s_CommonHeaderNames[c_Expires]); 156return m_CommonHeaders != null ? m_CommonHeaders[c_ETag] : Get(s_CommonHeaderNames[c_ETag]); 164return m_CommonHeaders != null ? m_CommonHeaders[c_LastModified] : Get(s_CommonHeaderNames[c_LastModified]); 172string location = m_CommonHeaders != null 173? m_CommonHeaders[c_Location] : Get(s_CommonHeaderNames[c_Location]); 183return m_CommonHeaders != null ? m_CommonHeaders[c_ProxyAuthenticate] : Get(s_CommonHeaderNames[c_ProxyAuthenticate]); 191return m_CommonHeaders != null ? m_CommonHeaders[c_SetCookie2] : Get(s_CommonHeaderNames[c_SetCookie2]); 199return m_CommonHeaders != null ? m_CommonHeaders[c_SetCookie] : Get(s_CommonHeaderNames[c_SetCookie]); 207return m_CommonHeaders != null ? m_CommonHeaders[c_Server] : Get(s_CommonHeaderNames[c_Server]); 215return m_CommonHeaders != null ? m_CommonHeaders[c_Via] : Get(s_CommonHeaderNames[c_Via]); 221if (m_CommonHeaders == null) 223for (int i = 0; i < m_CommonHeaders.Length; i++) 224if (m_CommonHeaders[i] != null) 225InnerCollection.Add(s_CommonHeaderNames[i], m_CommonHeaders[i]); 289if (m_CommonHeaders != null) 294return m_CommonHeaders[c_ProxyAuthenticate]; 297return m_CommonHeaders[c_WwwAuthenticate]; 1776if (m_CommonHeaders != null) 1806if (m_CommonHeaders[iHeader] == null) 1808m_CommonHeaders[iHeader] = sValue; 1864if (m_CommonHeaders != null && name != null && name.Length > 0 && name[0] < 256) 1891return m_CommonHeaders[iHeader - 1];