17 references to s_CommonHeaderNames
System (17)
net\System\Net\WebHeaderCollection.cs (17)
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]);
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]);
225
InnerCollection.Add(
s_CommonHeaderNames
[i], m_CommonHeaders[i]);
987
m_CommonHeaders = new string[
s_CommonHeaderNames
.Length - 1]; // Minus one for the sentinel.
1783
string s =
s_CommonHeaderNames
[iHeader++];
1871
string s =
s_CommonHeaderNames
[iHeader++];