37 references to WebHeaderCollectionType
System (37)
net\System\Net\_Connection.cs (1)
2615m_ResponseData.m_ResponseHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebResponse);
net\System\Net\filewebrequest.cs (1)
56m_headers = new WebHeaderCollection(WebHeaderCollectionType.FileWebRequest);
net\System\Net\filewebresponse.cs (1)
57m_headers = new WebHeaderCollection(WebHeaderCollectionType.FileWebResponse);
net\System\Net\FtpWebRequest.cs (1)
1830m_FtpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.FtpWebRequest);
net\System\Net\FtpWebResponse.cs (1)
149m_FtpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.FtpWebResponse);
net\System\Net\HttpListenerResponse.cs (1)
44m_WebHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpListenerResponse);
net\System\Net\HttpWebRequest.cs (2)
2665WebHeaderCollection newWebHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest); 5154_HttpRequestHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest);
net\System\Net\UnsafeNativeMethods.cs (1)
2981WebHeaderCollection headerCollection = new WebHeaderCollection(WebHeaderCollectionType.HttpListenerRequest);
net\System\Net\webclient.cs (3)
204m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest); 602m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest); 742m_headers = new WebHeaderCollection(WebHeaderCollectionType.WebRequest);
net\System\Net\WebHeaderCollection.cs (24)
247private WebHeaderCollectionType m_Type; 252if (m_Type==WebHeaderCollectionType.Unknown) { 253m_Type = WebHeaderCollectionType.WebRequest; 255return m_Type==WebHeaderCollectionType.WebRequest || m_Type==WebHeaderCollectionType.HttpWebRequest || m_Type==WebHeaderCollectionType.HttpListenerRequest; 261if (m_Type==WebHeaderCollectionType.Unknown) { 262m_Type = WebHeaderCollectionType.WebResponse; 264return m_Type==WebHeaderCollectionType.WebResponse || m_Type==WebHeaderCollectionType.HttpWebResponse || m_Type==WebHeaderCollectionType.HttpListenerResponse; 307if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 327if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 346if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 359if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 392if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 561if (m_Type == WebHeaderCollectionType.HttpWebRequest) 568else if (m_Type == WebHeaderCollectionType.HttpListenerResponse) 622if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 665if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 699if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 717if (m_Type==WebHeaderCollectionType.HttpListenerResponse) { 983internal WebHeaderCollection(WebHeaderCollectionType type) : base(DBNull.Value) 986if (type == WebHeaderCollectionType.HttpWebResponse)
net\System\Net\WebSockets\ClientWebSocket.cs (1)
415requestHeaders = new WebHeaderCollection(WebHeaderCollectionType.HttpWebRequest);