Base:
property
Count
System.Collections.Specialized.NameObjectCollectionBase.Count
10 references to Count
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
ResponseHeaderTests.cs (3)
57
Assert.Equal(4, response.Headers.
Count
);
82
Assert.Equal(4, response.Headers.
Count
);
107
Assert.Equal(4, response.Headers.
Count
);
PresentationCore (1)
MS\Internal\AppModel\CookieHandler.cs (1)
77
for (int i = headers.
Count
-1; i >= 0; i--)
System.Net.HttpListener (1)
System\Net\Managed\HttpListenerResponse.Managed.cs (1)
294
for (int i = 0; i < headers.
Count
; i++)
System.Net.WebHeaderCollection (2)
System\Net\WebHeaderCollection.cs (2)
394
if (
Count
== 0)
399
var sb = new StringBuilder(ApproxAveHeaderLineSize *
Count
);
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
100
if (options._requestHeaders?.
Count
> 0) // use field to avoid lazily initializing the collection
System.ServiceModel.Http.Tests (2)
Channels\HttpRequestMessagePropertyTest.cs (2)
44
Assert.Equal<int>(original.Headers.
Count
, copy.Headers.
Count
);