Implemented interface member:
property
Count
System.Collections.ICollection.Count
94 references to Count
ComSvcConfig (11)
ComplusEndpointConfigContainer.cs (1)
588this.hasServices = ServiceModelSectionGroup.GetSectionGroup(config).Services.Services.Count > 0;
EndpointConfigContainer.cs (9)
351if (contractElement.ExposedMethods.Count == 0) 440if (comContract.PersistableTypes.Count == 0 && Tool.Options.AllowReferences && methodsAdded) 461if (newComContract.PersistableTypes.Count == 0 && Tool.Options.AllowReferences) 601if (el.Endpoints.Count == 1) 604if (el.Endpoints.Count == 0) 613if (serviceColl.Count == 0) 653if (serviceElement.Endpoints.Count == 1) 658if (serviceElement.Endpoints.Count == 0) 661if (serviceColl.Count == 0)
WasEndpointConfigContainer.cs (1)
338return se.Endpoints.Count;
System.Configuration (12)
System\Configuration\ConfigurationElementCollection.cs (12)
171if (this.Count != compareToElem.Count) { 407_inheritedCount = Count; // After reset the count is the number of items actually inherited. 539iFoundItem > Count + _removedItemCount - _inheritedCount) { 605index = Count + _removedItemCount - _inheritedCount; // insert before inherited, but after any removed 608if (index > Count + _removedItemCount - _inheritedCount && flagAsReplaced == false) { 725if (index >= Count - _inheritedCount) { 777_items.Insert(Count + _removedItemCount - _inheritedCount, new Entry(EntryType.Removed, key, null)); 840object[] keys = new object[Count]; 900while (Count - _inheritedCount > 0) { 909int initialCount = Count; 973if (index >= Count - _inheritedCount) {
System.IdentityModel (5)
System\IdentityModel\Configuration\AudienceUriElementCollection.cs (1)
53return ((ElementInformation.Properties[ConfigurationStrings.Mode].ValueOrigin != PropertyValueOrigin.Default) || (Count > 0));
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
440if (serviceElement.SecurityTokenHandlerSets.Count > 0)
System\IdentityModel\Configuration\IdentityConfigurationElementCollection.cs (1)
89return (Count > 0);
System\IdentityModel\Configuration\SecurityTokenHandlerElementCollection.cs (1)
68Count > 0 );
System\IdentityModel\Configuration\SecurityTokenHandlerSetElementCollection.cs (1)
59return ( Count > 0 );
System.Runtime.Serialization (6)
System\Runtime\Serialization\Configuration\ParameterElement.cs (1)
90if ((propertyInfo[ConfigurationStrings.Index].ValueOrigin != PropertyValueOrigin.Default) && this.Parameters.Count > 0)
System\Runtime\Serialization\Configuration\TypeElement.cs (3)
104if (parameters.Count != t.GetGenericArguments().Length) 108parameters.Count)); 110Type[] types = new Type[parameters.Count];
System\Runtime\Serialization\DataContract.cs (2)
2165for (int i = 0; i < elements.Count; ++i) 2177for (int i = 0; i < elem.KnownTypes.Count; ++i)
System.ServiceModel (22)
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (4)
143if (configElement.Handlers != null && configElement.Handlers.Count > 0) 168if (configElement.Handlers == null || configElement.Handlers.Count == 0) 173Type[] handlerList = new Type[configElement.Handlers.Count]; 174for (int i = 0; i < configElement.Handlers.Count; i++)
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
64for (int i = 0; i < collection.Count; i++)
System\ServiceModel\Configuration\BindingsSection.cs (1)
273if (bindingExtensions.Count != this.properties.Count)
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
66for (int i = 0; i < collection.Count; i++)
System\ServiceModel\Configuration\HttpMessageHandlerFactoryValidator.cs (1)
20if (!string.IsNullOrWhiteSpace(configElement.Type) && configElement.Handlers != null && configElement.Handlers.Count > 0)
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (4)
95for (int i = 0; i < srcAuthorizationPolicies.Count; ++i) 131if (authorizationPolicies.Count > 0) 133List<IAuthorizationPolicy> policies = new List<IAuthorizationPolicy>(authorizationPolicies.Count); 134for (int i = 0; i < authorizationPolicies.Count; ++i)
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (3)
44if (null != collection && collection.Count != 0) 80if (collection != null && collection.Count == 0) 235for (int i = 0; i < collection.Count; i++)
System\ServiceModel\Configuration\StandardEndpointsSection.cs (1)
174if (endpointExtensions.Count != this.properties.Count)
System\ServiceModel\Configuration\X509RecipientCertificateClientElement.cs (2)
61for (int i = 0; i < srcScopedCertificates.Count; ++i) 92for (int i = 0; i < scopedCertificates.Count; ++i)
System\ServiceModel\Configuration\XmlElementElementCollection.cs (1)
39for (int i = 0; i < source.Count; ++i)
System\ServiceModel\Description\ConfigLoader.cs (1)
1433for (int i = 0; i < services.Count; i++)
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
573for (int i = 0; i < section.MessageLogging.Filters.Count; i++)
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (1)
41if (this.serviceElement.Host.BaseAddresses.Count > 0)
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\Configuration\EndpointDiscoveryElement.cs (2)
132if ((Scopes != null) && (Scopes.Count > 0)) 149if ((Extensions != null) && (Extensions.Count > 0))
System.Web (25)
Compilation\BuildManager.cs (1)
2013numOfCodeDirs += codeSubDirectories.Count;
Compilation\CompilationUtil.cs (4)
184if (assemblies.Count == 0) { 196if (builders.Count == 0) { 209if (buildProviders.Count == 0) { 220if (codeSubDirs.Count == 0) {
Compilation\ProfileBuildProvider.cs (1)
52if (ProfileBase.GetPropertiesForCompilation().Count == 0 && !ProfileBase.InheritsFromCustomType && ProfileManager.DynamicProfileProperties.Count == 0) {
Configuration\AuthorizationRuleCollection.cs (1)
180for (int x = 0; x < Count; x++) {
Configuration\AuthorizationSection.cs (1)
84if (Rules.Count > 0) {
Configuration\HealthMonitoringSectionHelper.cs (1)
510_instances = CollectionsUtil.CreateCaseInsensitiveHashtable(section.Providers.Count);
Configuration\HttpHandlersSection.cs (1)
68for (int i = 0; i < Handlers.Count; i++) {
Configuration\OutputCacheSection.cs (1)
200if (providers == null || providers.Count == 0) {
Configuration\ProfileGroupSettingsCollection.cs (1)
171int index = Count-1;
Hosting\ApplicationManager.cs (5)
1077if (cacheProviders == null || cacheProviders.Count < 1) { 1164if (partialTrustVisibleAssembliesCollection != null && partialTrustVisibleAssembliesCollection.Count != 0) { 1165partialTrustVisibleAssemblies = new string[partialTrustVisibleAssembliesCollection.Count + defaultPartialTrustVisibleAssemblies.Length]; 1166for (int i = 0; i < partialTrustVisibleAssembliesCollection.Count; i++) { 1171defaultPartialTrustVisibleAssemblies.CopyTo(partialTrustVisibleAssemblies, partialTrustVisibleAssembliesCollection.Count);
Hosting\HostingEnvironment.cs (1)
1465if (cacheProviders == null || cacheProviders.Count < 1) {
HttpApplication.cs (1)
3821urlMappingsEnabled = urlMappings.IsEnabled && ( urlMappings.UrlMappings.Count > 0 );
Security\FileAuthorizationModule.cs (1)
75int len = modulesSection.Modules.Count;
Security\UrlAuthorizationModule.cs (1)
81int len = modulesSection.Modules.Count;
UI\Util.cs (3)
117if (namespaces.Count == 0) { 129if (controls.Count == 0) { 150if (tagMapping.Count == 0) {
UrlMappingsModule.cs (1)
19urlMappingsEnabled = urlMappings.IsEnabled && ( urlMappings.UrlMappings.Count > 0 );
System.Web.Services (11)
System\Web\Services\Configuration\WebServicesSection.cs (6)
136if (this.ServiceDescriptionFormatExtensionTypes.Count == 0) { 140Type[] formatTypes = new Type[defaultFormatTypes.Length + this.ServiceDescriptionFormatExtensionTypes.Count]; 143for (int index = 0; index < this.ServiceDescriptionFormatExtensionTypes.Count; ++index) { 386get { return this.ServiceDescriptionFormatExtensionTypes.Count > 0; } 434Type[] retval = new Type[1 + this.SoapTransportImporterTypes.Count]; 436for (int i = 0; i < SoapTransportImporterTypes.Count; ++i) {
System\Web\Services\Description\SoapProtocolImporter.cs (1)
517extensions = new SoapExtensionImporter[extensionTypes.Count];
System\Web\Services\Description\SoapProtocolReflector.cs (2)
244extensions = new SoapExtensionReflector[extensionTypes.Count]; 259extensions = new SoapExtensionReflector[extensionTypes.Count];
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
59for (int i = 0; i < extensionTypes.Count; i++) {
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
84for (int i = 0; i < extensionTypes.Count; i++) {