Implemented interface member:
property
Count
System.Collections.ICollection.Count
1 override of Count
mscorlib (1)
system\collections\hashtable.cs (1)
1419public override int Count {
285 references to Count
mscorlib (11)
system\collections\dictionarybase.cs (1)
36get { return hashtable == null ? 0 : hashtable.Count; }
system\collections\hashtable.cs (2)
598if (array.Length - arrayIndex < Count) 1420get { return _table.Count; }
system\runtime\remoting\callcontext.cs (2)
231get { return ((m_Datastore != null) && (m_Datastore.Count > 0));} 497get { return ((m_Datastore != null) && (m_Datastore.Count > 0));}
system\runtime\remoting\configuration.cs (3)
1079if ((properties != null) && (properties.Count > 0)) 1163new ActivatedServiceTypeEntry[_exportableClasses.Count]; 1178new WellKnownServiceTypeEntry[_wellKnownExportInfo.Count];
system\runtime\remoting\identityholder.cs (1)
183Message.DebugOut("ResolveIdentity:: table.count: " + URITable.Count + "\n");
system\security\securityelement.cs (2)
189if (value == null || value.Count == 0) 195ArrayList list = new ArrayList(value.Count);
PresentationCore (10)
Core\CSharp\MS\Internal\Automation\EventMap.cs (3)
191if (_eventsTable.Count == 0) 207if (_eventsTable != null && _eventsTable.Count != 0) 219if (_eventsTable != null && _eventsTable.Count != 0)
Core\CSharp\MS\Internal\Automation\EventPropertyMap.cs (3)
88int cDPStart = _propertyTable.Count; 126int cDPStart = _propertyTable.Count; 150if (_propertyTable.Count == 0)
Core\CSharp\MS\Internal\FontCache\TypefaceMetricsCache.cs (1)
60if (_hashTable.Count >= MaxCacheCapacity)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
1858int removedCount = (ht == null ? 0 : ht.Count);
Core\CSharp\System\Windows\Media\Imaging\ImagingCache.cs (2)
89if (table.Count == MAX_CACHE_SIZE) 109if (table.Count == MAX_CACHE_SIZE)
PresentationFramework (9)
src\Framework\MS\Internal\Data\AccessorTable.cs (1)
117object[] keysToRemove = new object[_table.Count];
src\Framework\MS\Internal\WeakHashSet.cs (1)
76return _hashTable.Count;
src\Framework\MS\Internal\WeakHashtable.cs (1)
84int hashCount = Count;
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
306if (namespaceMaps != null && namespaceMaps.Count > 0)
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
384if (ObjectHashTable.Count == 0)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
183object[] keys = new object[result.Count];
src\Framework\System\Windows\ResourceDictionary.cs (3)
856get { return _baseDictionary.Count; } 2284int count = _baseDictionary.Count; 2348int count = _baseDictionary.Count;
System (47)
compmod\system\codedom\compiler\TempFiles.cs (4)
166return files.Count; 172get { return files.Count; } 258if (files != null && files.Count > 0) { 259string[] fileNames = new string[files.Count];
compmod\system\collections\specialized\hybriddictionary.cs (1)
157return hashtable.Count;
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
312return (_entriesTable.Count > 0); // any entries with keys?
compmod\system\collections\specialized\stringdictionary.cs (1)
50return contents.Count;
compmod\system\componentmodel\TypeDescriptor.cs (2)
2242Trace("Nodes : Allocated new type node. Now {0} nodes", _providerTable.Count); 2312Trace("Nodes : Allocated new instance node for {0}. Now {1} nodes", type.Name, _providerTable.Count);
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
292DataToWrite = DataToWrite || ((_attributes != null) && (_attributes.Count > 0));
compmod\system\diagnostics\SourceElementsCollection.cs (1)
156DataToWrite = DataToWrite || ((_attributes != null) && (_attributes.Count > 0));
compmod\system\diagnostics\SwitchElementsCollection.cs (1)
111DataToWrite = DataToWrite || ((_attributes != null) && (_attributes.Count > 0));
compmod\system\security\permissions\ResourcePermissionBase.cs (6)
91return (!isUnrestricted && rootTable.Count == 0); 325if (((Hashtable)currentContent).Count < ((Hashtable)targetContent).Count) { 350return (newContents.Count > 0) ? newContents : null; 534if (currentTable.Count == 1) 614return (newContents.Count > 0) ? newContents : null;
misc\WeakHashtable.cs (1)
70int hashCount = Count;
net\System\Net\_SpnDictionary.cs (1)
47return m_SyncTable.Count;
net\System\Net\_SslSessionsCache.cs (8)
131if (s_CachedCreds.Count == 0) 133GlobalLog.Print("TryCachedCredential() Not Found, Current Cache Count = " + s_CachedCreds.Count); 143GlobalLog.Print("TryCachedCredential() Not Found, Current Cache Count = " + s_CachedCreds.Count); 161GlobalLog.Print("CacheCredential() Refused to cache an Invalid Handle = " + creds.ToString() + ", Current Cache Count = " + s_CachedCreds.Count); 186GlobalLog.Print("CacheCredential() Caching New Handle = " + creds.ToString() + ", Current Cache Count = " + s_CachedCreds.Count); 198if ((s_CachedCreds.Count%c_CheckExpiredModulo) == 0) 200DictionaryEntry[] toRemoveAttempt = new DictionaryEntry[s_CachedCreds.Count]; 218GlobalLog.Print("Scavenged cache, New Cache Count = " + s_CachedCreds.Count);
net\System\Net\_WebProxyDataBuilder.cs (1)
143Debug.Assert(proxyListHashTable.Count > 0);
net\System\Net\CredentialCache.cs (3)
332m_array = new ICredentials[table.Count + hostTable.Count]; 334hostTable.Values.CopyTo(m_array, table.Count);
net\System\Net\HttpListener.cs (3)
738if (m_UriPrefixes.Count>0) { 1126if (m_UriPrefixes.Count>0) { 1151if (m_UriPrefixes.Count==0) {
net\System\Net\HttpListenerPrefixCollection.cs (1)
80return m_HttpListener.m_UriPrefixes.Count;
net\System\Net\ServicePoint.cs (1)
1186ArrayList cgs = new ArrayList(m_ConnectionGroupList.Count);
net\System\Net\ServicePointManager.cs (4)
804if (s_MaxServicePoints<=0 || s_ServicePointTable.Count<s_MaxServicePoints) { 821GlobalLog.LeaveException("ServicePointManager::FindServicePointHelper() reached the limit count:" + s_ServicePointTable.Count.ToString() + " limit:" + s_MaxServicePoints.ToString(), exception); 868if (s_MaxServicePoints<=0 || s_ServicePointTable.Count<s_MaxServicePoints) { 886GlobalLog.LeaveException("ServicePointManager::FindServicePoint() reached the limit count:" + s_ServicePointTable.Count.ToString() + " limit:" + s_MaxServicePoints.ToString(), exception);
regex\system\text\regularexpressions\Regex.cs (1)
607result = new int[caps.Count];
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (2)
452if (categorySample.InstanceNameTable.Count == 0) 455string[] instanceNames = new string[categorySample.InstanceNameTable.Count];
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
1597string[] keys = new string[categorySample.InstanceNameTable.Count]; 1599int[] indexes = new int[categorySample.InstanceNameTable.Count];
sys\system\configuration\SettingsPropertyCollection.cs (1)
139public int Count { get { return _Hashtable.Count; } }
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
64if (_expandedPropertyEditors.Count == 0)
System.Configuration (10)
System\Configuration\BaseConfigurationRecord.cs (2)
3789&& (_sectionRecords == null || _sectionRecords.Count == 0) 3790&& (_factoryRecords == null || _factoryRecords.Count == 0)
System\Configuration\MgmtConfigurationRecord.cs (4)
1458return(_removedSections != null && _removedSections.Count > 0) 1459|| (_removedSectionGroups != null && _removedSectionGroups.Count > 0); 1470( _removedSections.Count > 0 ) ); 2052if (!IsLocationConfig && _locationSections != null && _removedSections != null && _removedSections.Count > 0) {
System\Configuration\ProviderCollection.cs (1)
93public int Count { get { return _Hashtable.Count; }}
System\Configuration\SectionUpdates.cs (3)
35return _groups.Count == 0 && _sections.Count == 0; 86_isNew = allSubgroupsAreNew && _cMoved == _sections.Count;
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (1)
64if (_expandedPropertyEditors.Count == 0)
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
345PropertyDescriptor[] properties = new PropertyDescriptor[descriptors.Count];
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
697Debug.Assert(SqlConnectionStringBuilder.KeywordsCount + SynonymCount == hash.Count, "incorrect initial ParseSynonyms size"); 732Debug.Assert(NetLibCount == hash.Count, "incorrect initial NetlibMapping size");
fx\src\data\System\Data\xmlsaver.cs (6)
301return props != null && props.Count != 0; 690bool isMultipleNamespaceAndStreamingWriter = (namespaces.Count > 1 && !genSecondary); 706rootSchema.SetAttribute(Keywords.MSD_FRAGMENTCOUNT, Keywords.MSDNS, namespaces.Count.ToString(CultureInfo.InvariantCulture)); 1417if (rel.ExtendedProperties.Count > 0) 1427if (unique.ExtendedProperties.Count > 0) 1450if (fk.ExtendedProperties.Count > 0)
fx\src\data\System\NewXml\XmlDataDocument.cs (2)
803if ( pointers.Count > 0 ) { 1505if ( pointers.Count > 0 ) {
System.Data.Entity (1)
System\Data\EntityClient\EntityConnection.cs (1)
856if (1 < userConnectionOptions.Parsetable.Count)
System.Data.SqlXml (4)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
312methodsBaked = new Hashtable(this.methods.Count);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
742if (_typeDeclsByLang[idx].Count > 0) {
System\Xml\Xsl\XsltOld\InputScope.cs (1)
97return this.variables.Count;
System\Xml\Xsl\XsltOld\Processor.cs (1)
333this.scriptExtensions = new Hashtable(this.stylesheet.ScriptObjectTypes.Count); {
System.Management (1)
Instrumentation\EventSource.cs (1)
408return (null == pSinkMTA) || (mapQueryIdToQuery.Count == 0);
System.Messaging (8)
System\Messaging\Design\QueuePathDialog.cs (1)
395if (machinesTable.Count == 0)
System\Messaging\MessageQueuePermission.cs (6)
234if (this.resolvedFormatNames.Count < targetQueuePermission.resolvedFormatNames.Count) 282if ((this.resolvedFormatNames.Count == 0 && targetQueuePermission.resolvedFormatNames.Count != 0) || 283(this.resolvedFormatNames.Count != 0 && targetQueuePermission.resolvedFormatNames.Count == 0))
System\Messaging\XmlMessageFormatter.cs (1)
186if (this.targetSerializerTable.Count == 0)
System.Runtime.Caching (2)
System\Caching\MemoryCacheStore.cs (2)
206return _entries.Count; 216ArrayList entries = new ArrayList(_entries.Count);
System.Security (2)
system\security\cryptography\xml\c14nutil.cs (1)
771object[] attrs = new object[nsLocallyDeclared.Count];
system\security\cryptography\xml\canonicalxml.cs (1)
160object[] attrs = new object[nsLocallyDeclared.Count];
System.ServiceModel (4)
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
222List<SecurityContextSecurityToken> tokens = new List<SecurityContextSecurityToken>(cacheTable.Count);
System\ServiceModel\Security\TimeBoundedCache.cs (2)
46return this.entries.Count; 205int count = this.entries.Count;
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
55List<IExpirableItem> items = new List<IExpirableItem>(cacheTable.Count);
System.ServiceModel.Internals (4)
System\Runtime\Collections\HopperCache.cs (4)
85Fx.Assert(this.strongHopper.Count <= this.hopperSize * 2, 88if (this.strongHopper.Count >= this.hopperSize * 2) 176Fx.Assert(this.outstandingHopper.Count <= this.hopperSize, 179if (this.outstandingHopper.Count >= this.hopperSize)
System.Web (23)
Cache\CacheEntry.cs (1)
403if (h.Count == 0) {
Cache\SqlCacheDependency.cs (1)
637if (s_DatabaseNotifStates != null && s_DatabaseNotifStates.Count > 0) {
Compilation\AssemblyBuilder.cs (2)
987if (_buildProviders.Count < 20) { 996fileNames = String.Format(CultureInfo.InstalledUICulture, SR.Resources.GetString(SR.Etw_Batch_Compilation, CultureInfo.InstalledUICulture), new object[1] {_buildProviders.Count});
Compilation\ProfileBuildProvider.cs (1)
52if (ProfileBase.GetPropertiesForCompilation().Count == 0 && !ProfileBase.InheritsFromCustomType && ProfileManager.DynamicProfileProperties.Count == 0) {
Configuration\TransformerInfoCollection.cs (1)
112if (_transformerEntries.Count != 0) {
FileChangesMonitor.cs (2)
748int c = _fileMons.Count - _cShortNames; 1005if (_fileMons.Count > 0) {
Hosting\HostingEnvironment.cs (7)
516if (_registeredObjects.Count > 0) { 547if (_registeredObjects.Count == 0) { 557if (_registeredObjects.Count == 0) { 572while (_registeredObjects.Count > 0 && DateTime.UtcNow < waitUntil) { 582if (_registeredObjects.Count == 0) { 589Debug.Trace("HostingEnvironmentShutdown", "Forced shutdown: " + _registeredObjects.Count + " registered objects left"); 914if (_registeredObjects.Count == 0)
HttpApplication.cs (3)
237Debug.Assert(_moduleIndexMap != null && _moduleIndexMap.Count > 0, "_moduleIndexMap != null && _moduleIndexMap.Count > 0"); 244_moduleContainers = new PipelineModuleStepContainer[_moduleIndexMap.Count]; 1993moduleIndex = _moduleIndexMap.Count;
Profile\HttpProfileBase.cs (1)
316if (props.Count > 0 || InheritsFromCustomType)
Profile\ProfileInfo.cs (1)
129public int Count { get { return _Hashtable.Count; } }
UI\DataBindingCollection.cs (1)
39return bindings.Count;
UI\ExpressionBindingCollection.cs (1)
39return bindings.Count;
Util\SimpleRecyclingCache.cs (1)
43if (_hashtable.Count >= MAX_SIZE)
System.Web.DataVisualization (45)
Common\DataManager\DataPoint.cs (45)
3015 if(properties.Count == 0 || !IsCustomPropertySet(attrib)) 3261 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Label)) 3319 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.AxisLabel)) 3384 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelFormat)) 3441 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.IsValueShownAsLabel)) 3494 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Color)) 3556 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderColor)) 3606 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderDashStyle)) 3657 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderWidth)) 3713 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImage)) 3773 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageWrapMode)) 3830 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageTransparentColor)) 3882 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageAlignment)) 3934 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackGradientStyle)) 3987 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackSecondaryColor)) 4039 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackHatchStyle)) 4090 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Font)) 4143 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelForeColor)) 4201 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelAngle)) 4258 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerStyle)) 4316 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerSize)) 4369 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerImage)) 4429 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerImageTransparentColor)) 4483 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerColor)) 4537 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerBorderColor)) 4591 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerBorderWidth)) 4683 for(int i = properties.Count - 1; i >= 0; i--) 4822 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.ToolTip)) 4876 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Url)) 4926 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MapAreaAttributes)) 4965if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.PostBackValue)) 5034 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.IsVisibleInLegend)) 5094 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendText)) 5152 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendToolTip)) 5200 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBackColor)) 5259 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderColor)) 5316 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderDashStyle)) 5368 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderWidth)) 5439 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelToolTip)) 5493 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendUrl)) 5546 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendMapAreaAttributes)) 5586if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendPostBackValue)) 5649 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelUrl)) 5701 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelMapAreaAttributes)) 5741if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelPostBackValue))
System.Web.Extensions (4)
UI\ScriptManager.cs (2)
1326if ((_initialState != null) && (_initialState.Count == 0)) { 2009if ((_initialState != null) && (_initialState.Count != 0)) {
UI\WebControls\QueryableDataSourceView.cs (2)
506if ((_originalValues != null) && (_originalValues.Count > 0)) { 569Dictionary<string, object> rowValues = new Dictionary<string, object>(_originalValues.Count,
System.Web.Mobile (2)
UI\MobileControls\MobilePage.cs (2)
346if (_clientViewState == null || _clientViewState.Count == 0) 1238_clientViewState.Count > 0 &&
System.Web.Services (1)
System\Web\Services\Description\ProtocolReflector.cs (1)
300if (reflectedBindings.Count == 0) {
System.Windows.Forms (6)
misc\WeakHashtable.cs (1)
70int hashCount = Count;
winforms\Managed\System\WinForms\BindingContext.cs (1)
37return listManagers.Count;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
472int cProps = propInfos.Count;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
5611int nPenEntries = this.pens.Count; 5625int nBrushEntries = this.brushes.Count;
winforms\Managed\System\WinForms\ListView.cs (1)
7967if (usedIndices.Count == values.Length) {
System.Windows.Forms.DataVisualization (45)
Common\DataManager\DataPoint.cs (45)
3015 if(properties.Count == 0 || !IsCustomPropertySet(attrib)) 3261 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Label)) 3319 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.AxisLabel)) 3384 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelFormat)) 3441 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.IsValueShownAsLabel)) 3494 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Color)) 3556 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderColor)) 3606 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderDashStyle)) 3657 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BorderWidth)) 3713 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImage)) 3773 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageWrapMode)) 3830 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageTransparentColor)) 3882 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackImageAlignment)) 3934 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackGradientStyle)) 3987 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackSecondaryColor)) 4039 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.BackHatchStyle)) 4090 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Font)) 4143 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelForeColor)) 4201 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelAngle)) 4258 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerStyle)) 4316 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerSize)) 4369 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerImage)) 4429 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerImageTransparentColor)) 4483 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerColor)) 4537 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerBorderColor)) 4591 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MarkerBorderWidth)) 4683 for(int i = properties.Count - 1; i >= 0; i--) 4822 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.ToolTip)) 4876 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.Url)) 4926 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.MapAreaAttributes)) 4965if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.PostBackValue)) 5034 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.IsVisibleInLegend)) 5094 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendText)) 5152 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendToolTip)) 5200 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBackColor)) 5259 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderColor)) 5316 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderDashStyle)) 5368 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelBorderWidth)) 5439 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelToolTip)) 5493 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendUrl)) 5546 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendMapAreaAttributes)) 5586if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LegendPostBackValue)) 5649 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelUrl)) 5701 if(properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelMapAreaAttributes)) 5741if (properties.Count != 0 && IsCustomPropertySet(CommonCustomProperties.LabelPostBackValue))
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
472if (this.designTimeTypes != null && this.designTimeTypes.Count > 0 && returnType.Assembly != null && returnType.IsGenericTypeDefinition)
AuthoringOM\Design\PropertyDescriptors.cs (1)
157PropertyDescriptor[] returnProps = new PropertyDescriptor[properties.Count];
System.Xml (23)
System\Xml\Schema\ContentValidator.cs (5)
58get { return names.Count; } 1366int newState = stateTable.Count - 1; 1934int i = elements.Count; 1949Debug.Assert(elements.Count > 0); 1950context.AllElementsSet = new BitSet(elements.Count); //
System\Xml\Schema\NamespaceList.cs (1)
308return ((type == ListType.Set) && ((set == null) || set.Count == 0));
System\Xml\Schema\SchemaNamespacemanager.cs (2)
27if (namespaces != null && namespaces.Count > 0) { 43if (namespaces != null && namespaces.Count > 0) {
System\Xml\Schema\XmlSchemaCollection.cs (2)
70get { return collection.Count;} 285get { return collection.Count; }
System\Xml\Schema\XmlSchemaSet.cs (1)
839DictionaryEntry[] oldLocations = new DictionaryEntry[schemaLocations.Count];
System\Xml\Schema\XmlSchemaValidator.cs (1)
305DictionaryEntry[] oldLocations = new DictionaryEntry[schemaLocations.Count];
System\Xml\Schema\XsdBuilder.cs (1)
764if (this.namespaces != null && this.namespaces.Count > 0) {
System\Xml\Serialization\Compilation.cs (1)
635get { return assemblies != null && assemblies.Count > 0; }
System\Xml\Serialization\NameTable.cs (1)
76Array a = Array.CreateInstance(type, table.Count);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
800TypeDesc[] typeDescs = new TypeDesc[uniqueTypeDescs.Count];
System\Xml\Serialization\XmlSerializationWriter.cs (2)
504if (qnIndexes.Count > 0) { 3310key = a.FullName+", "+nameToAssemblyMap.Count;
System\Xml\Serialization\XmlSerializer.cs (2)
530if (pendingKeys.Count > 0) { 531XmlMapping[] pendingMappings = new XmlMapping[pendingKeys.Count];
System\Xml\Serialization\XmlSerializerNamespaces.cs (3)
84get { return Namespaces.Count; } 89if (namespaces == null || namespaces.Count == 0) 111if (namespaces == null || namespaces.Count == 0)
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
567count = _imageOnlyHandlers.Count;
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (3)
82if (_hwndTable.Count == 0) 146if (eventTable.Count == 0) 151if (_hwndTable.Count == 0)
WindowsBase (4)
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
1270if( 0 < _dataSpaceDefinitions.Count ) 1429if( 0 < _transformDefinitions.Count )
Shared\MS\Utility\FrugalMap.cs (2)
1606if (index < _entries.Count) 1667return _entries.Count;