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