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