Implemented interface member:
property
Count
System.Collections.ICollection.Count
7 overrides of Count
System (1)
net\System\Net\WebHeaderCollection.cs (1)
1913
public override int
Count
System.Configuration (2)
System\Configuration\ConfigurationSectionCollection.cs (1)
105
public override int
Count
{
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
111
public override int
Count
{
System.Web (4)
Abstractions\HttpApplicationStateBase.cs (1)
36
public override int
Count
{
Abstractions\HttpFileCollectionBase.cs (1)
31
public override int
Count
{
httpapplicationstate.cs (1)
80
public override int
Count
{
HttpServerVarsCollection.cs (1)
170
public override int
Count
{
136 references to Count
System (20)
compmod\system\collections\specialized\nameobjectcollectionbase.cs (5)
636
if( _pos < _coll.
Count
- 1) {
641
_pos = _coll.
Count
;
655
if(_pos >= 0 && _pos < _coll.
Count
) {
714
return _coll.
Count
;
731
if (array.Length - index < _coll.
Count
) {
compmod\system\collections\specialized\namevaluecollection.cs (3)
183
int n = c.
Count
;
224
if (dest.Length - index <
Count
) {
228
int n =
Count
;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
1353
if (ctx.SystemMeta == null || ctx.SystemMeta.
Count
== 0) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
539
for (int i=0; i < cc.
Count
; ++i)
net\System\Net\HttpListenerRequest.cs (1)
286
for (int i=0; i<Headers.
Count
; i++) {
net\System\Net\mail\Message.cs (2)
462
for (int i = 0; i < headers.
Count
; i++) {
507
for (int i = 0; i < Headers.
Count
; i++)
net\System\Net\webclient.cs (1)
1002
for (int i = 0; i < m_requestParameters.
Count
; ++i) {
net\System\Net\WebHeaderCollection.cs (6)
877
if (cc == null || cc.
Count
== 0) {
880
StringBuilder sb = new StringBuilder(ApproxAveHeaderLineSize*cc.
Count
);
886
for (int i = 0; i < cc.
Count
; i++) {
993
m_InnerCollection = new NameValueCollection(cc.
Count
+ 2, CaseInsensitiveAscii.StaticInstance);
994
int len = cc.
Count
;
1917
return (m_InnerCollection == null ? 0 : m_InnerCollection.
Count
) + m_NumCommonHeaders;
System.Configuration (15)
System\Configuration\ConfigurationElement.cs (6)
577
for (int index = 0; index < parentElement.Values.
Count
; index++) {
613
for (int index = 0; index < parentElement.Values.
Count
; index++) {
1015
for (int index = 0; index < sourceElement.Values.
Count
; index++) {
1157
for (int index = 0; index < _values.
Count
; index++) {
1230
for (int index = 0; index < _values.
Count
; index++) {
1773
for (int index = 0; index < elem.Values.
Count
; index++) {
System\Configuration\ConfigurationSectionCollection.cs (1)
107
return base.
Count
;
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
113
return base.
Count
;
System\Configuration\ConfigurationValues.cs (2)
250
for (int index = 0; index < _values.
Count
; index++) {
269
for (int index = 0; index < _values.
Count
; index++) {
System\Configuration\DPAPIProtectedConfigurationProvider.cs (1)
207
if (configurationValues.
Count
> 0)
System\Configuration\PropertyInformationCollection.cs (2)
72
if (array.Length <
Count
+ index) {
83
int c =
Count
;
System\Configuration\ProtectedConfigurationSection.cs (1)
45
NameValueCollection cloneParams = new NameValueCollection(pars.
Count
);
System\Configuration\RSAProtectedConfigurationProvider.cs (1)
148
if (configurationValues.
Count
> 0)
System.Data.Services (1)
System\Data\Services\HttpContextServiceHost.cs (1)
454
for (int i = 0; i < collection.
Count
; i++)
System.Management (1)
managementnamedvaluecollection.cs (1)
62
if (0 <
Count
)
System.Runtime.Remoting (1)
channels\http\httpremotinghandler.cs (1)
233
if (context.Request.QueryString.
Count
!= 1)
System.ServiceModel (2)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3333
int count = headers.
Count
;
System\ServiceModel\Diagnostics\HttpListenerRequestTraceRecord.cs (1)
31
if (this.request.QueryString != null && this.request.QueryString.
Count
> 0)
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HttpRequestTraceRecord.cs (1)
31
if (this.request.QueryString != null && this.request.QueryString.
Count
> 0)
System.ServiceModel.Internals (1)
System\Runtime\UrlUtility.cs (1)
570
int n =
Count
;
System.Web (70)
Configuration\ProvidersHelper.cs (2)
36
NameValueCollection cloneParams = new NameValueCollection(pars.
Count
, StringComparer.Ordinal);
66
NameValueCollection cloneParams = new NameValueCollection(providerSettings.
Count
, StringComparer.Ordinal);
Configuration\VirtualDirectoryMappingCollection.cs (2)
68
int c =
Count
;
104
for (int i = 0; i < this.
Count
; i++) {
Hosting\IIS7WorkerRequest.cs (4)
1114
if (headers != null && headers.
Count
> 0) {
1115
headerCount = headers.
Count
;
2370
if (headers != null && headers.
Count
> 0) {
2371
headerCount = headers.
Count
;
HttpApplication.cs (4)
508
for (int i = 0; i < _moduleCollection.
Count
; i++) {
1815
int numModules = _moduleCollection.
Count
;
2331
int n = _moduleCollection.
Count
;
2454
for (int i = 0; i < _moduleCollection.
Count
; i++) {
httpapplicationstate.cs (1)
85
c = base.
Count
;
HttpCookieCollection.cs (4)
64
for (int i = 0; i < col.
Count
; i++) {
106
for (int i = 0; i < cookies.
Count
; ++i) {
116
if (
Count
>= AppSettings.MaxHttpCollectionKeys) {
196
int n =
Count
;
HttpDictionary.cs (1)
25
get { return
Count
;}
HttpFileCollection.cs (5)
50
for (int i = 0; i < col.
Count
; i++) {
65
int n =
Count
;
89
if (
Count
>= AppSettings.MaxHttpCollectionKeys) {
98
for (int i = 0; i <
Count
; i++) {
150
for (int i = 0; i <
Count
; i++) {
HttpModuleCollection.cs (2)
40
int n =
Count
;
60
for (int i = 0; i < other.
Count
; i++) {
HttpRequest.cs (8)
772
if (storedResponseCookies != null && storedResponseCookies.
Count
> 0) {
777
HttpCookie[] responseCookieArray = new HttpCookie[storedResponseCookies.
Count
];
2159
return (_queryString.
Count
> 0);
2204
return (_form.
Count
> 0);
2211
return (Form.
Count
> 0);
2749
int c = collection.
Count
;
2774
int c = cc.
Count
;
2793
for (int i = 0; i < col.
Count
; i++) {
HttpResponse.cs (8)
261
if (_cookies == null || (_cookies.
Count
== 0 && !_cookies.Changed))
278
for(int c = 0; c < _cookies.
Count
; c++)
316
for(int c = 0; c < _cookies.
Count
; c++)
435
int numCookies = _cookies.
Count
;
792
if (_cookies != null && _cookies.
Count
!= 0) {
907
for (int i = 0; i < _cookies.
Count
; i++) {
2580
int numHeaders = requestHeaders.
Count
;
3515
if (_cachePolicy != null && _cookies != null && _cookies.
Count
!= 0) {
HttpServerVarsCollection.cs (1)
173
return base.
Count
;
HttpValueCollection.cs (4)
45
for (int i = 0; i < col.
Count
; i++) {
269
int n = c.
Count
;
281
if (base.
Count
>= AppSettings.MaxHttpCollectionKeys) {
299
int n =
Count
;
OutputCacheModule.cs (2)
205
if (getAllParams && col.
Count
> 0) {
266
request.Form.
Count
== 0) {
Profile\SqlProfileProvider.cs (1)
74
if (config.
Count
> 0)
Security\ADMembershipProvider.cs (1)
627
if (config.
Count
> 0)
Security\AuthStoreRoleProvider.cs (1)
121
if (config.
Count
> 0)
Security\Membership.cs (1)
470
NameValueCollection cloneParams = new NameValueCollection(pars.
Count
, StringComparer.Ordinal);
Security\Roles.cs (1)
541
NameValueCollection cloneParams = new NameValueCollection(pars.
Count
, StringComparer.Ordinal);
Security\SQLMembershipProvider.cs (1)
209
if (config.
Count
> 0) {
Security\SQLRoleProvider.cs (1)
77
if (config.
Count
> 0)
Security\WindowsTokenRoleProvider.cs (1)
64
if (config.
Count
> 0)
State\SessionStateItemCollection.cs (6)
207
for (int i = 0; i < _serializedItems.
Count
; i++) {
229
if (index >= _serializedItems.
Count
) {
327
if (index >= _serializedItems.
Count
) {
405
if (_serializedItems != null && index < _serializedItems.
Count
) {
470
count =
Count
;
511
i < _serializedItems.
Count
&&
UI\TraceContext.cs (2)
543
HttpCookie[] cookies = new HttpCookie[cookieCollection.
Count
];
573
cookies = new HttpCookie[_context.Response.Cookies.
Count
];
UI\WebParts\SqlPersonalizationProvider.cs (1)
483
if (configSettings.
Count
> 0) {
Util\AspCompat.cs (3)
477
int n = c.
Count
;
508
int numCookies = cc.
Count
;
524
int ncv = cv.
Count
;
Util\ProviderUtil.cs (1)
190
if (config.
Count
> 0)
WebSockets\AspNetWebSocketContextImpl.cs (1)
74
for (int i = 0; i < hcc.
Count
; i++) {
System.Web.Extensions (3)
Handlers\ScriptModule.cs (2)
132
List<HttpCookie> cookies = new List<HttpCookie>(response.Cookies.
Count
);
133
for (int i = 0; i < response.Cookies.
Count
; i++) {
UI\ScriptManager.cs (1)
1212
_initialState = new Hashtable(state.
Count
, StringComparer.Ordinal);
System.Web.Mobile (17)
UI\MobileControls\Adapters\ChtmlPageAdapter.cs (5)
147
else if (request.QueryString.
Count
== 0)
173
for (int i = 0; i < queryString.
Count
; i++)
227
if (collection.
Count
== 0 || !isPostBack)
249
int count = form.
Count
;
339
if (collection.
Count
== 0 || !isPostBack)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
383
for (int i = 0; i < collection.
Count
; i++)
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
167
for (int i = 0; i < baseCollection.
Count
; i++)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (5)
124
int count = form.
Count
;
163
if (collection.
Count
== 0 || !isPostBack) {
179
for (int i = 0; i < queryString.
Count
; i++) {
218
if (collection.
Count
== 0 || !isPostBack) {
295
else if (request.QueryString.
Count
== 0) {
UI\MobileControls\MobilePage.cs (2)
937
int count = collection.
Count
;
1506
for (int i = 0; i < collection.
Count
; i++)
UI\MobileControls\StyleSheet.cs (3)
336
for (int i = 0; i < _styles.
Count
; i++)
356
int styleCount = _styles.
Count
;
416
int stylesCount = _styles.
Count
;
System.Workflow.Runtime (3)
Hosting\DefaultWorkflowTransactionService.cs (1)
32
if (parameters.
Count
> 0)
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
60
if (parameters.
Count
> 0)
Tracking\SqlTrackingService.cs (1)
152
if (parameters.
Count
> 0)
System.WorkflowServices (1)
System\ServiceModel\Configuration\PersistenceProviderElement.cs (1)
130
result |= this.persistenceProviderArguments.
Count
> 0;