Base:
property
Count
System.Collections.Specialized.NameObjectCollectionBase.Count
1 override of Count
System.ServiceModel (1)
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (1)
63public override int Count
21 references to Count
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (1)
91for (int i = headers.Count-1; i >= 0; i--)
System (12)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1242if (resp.Headers.Count <= ignoredHeaders) { 1817for (int i = 0; i < ctx.Response.Headers.Count; ++i) {
net\System\Net\HttpListenerResponse.cs (5)
491for (int i=0; i<Headers.Count; i++) { 719if (Headers.Count==0) { 765for (int index=0; index<Headers.Count; index++) { 787for (int index=0; index<Headers.Count; index++) { 796GlobalLog.Print("HttpListenerResponse#" + ValidationHelper.HashString(this) + "::SerializeHeaders(" + index + "/" + Headers.Count + ") headerName:" + ValidationHelper.ToString(headerName) + " lookup:" + lookup + " headerValue:" + ValidationHelper.ToString(headerValue));
net\System\Net\WebHeaderCollection.cs (5)
1044serializationInfo.AddValue("Count", Count); 1045for (int i = 0; i < Count; i++) 1048serializationInfo.AddValue((i + Count).ToString(NumberFormatInfo.InvariantInfo), Get(i)); 1267if (Count == 0) { 1341numberOfLf = (Count == 0 && headerNameEndOffset < 0) ? 1 : 0;
System.ServiceModel (6)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
2536for (int i = 0; i < requestHeaders.Count; i++) 2984for (int i = 0; i < responseHeaders.Count; i++)
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (2)
315for (int i = 0; i < responseHeaders.Count; i++) 337for (int i = 0; i < responseHeaders.Count; i++)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
765if (this.webHeaderCollection != null && this.webHeaderCollection.Count > 0)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
679if (this.webHeaderCollection != null && this.webHeaderCollection.Count > 0)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
576for (int i = 0; i < responseHeaders.Count; i++)
System.Web.Extensions (1)
ClientServices\Providers\ProxyHelper.cs (1)
106int numHeaders = response.Headers.Count;