Implemented interface member:
20 references to Count
Microsoft.Build (1)
Definition\ToolsetConfigurationReader.cs (1)
222if (propertyCollection == null || propertyCollection.Count == 0)
Microsoft.Build.Engine.UnitTests (6)
Definition\ToolsetConfigurationReader_Tests.cs (6)
450Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 486Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 539Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 544Assert.Equal(3, msbuildToolsetSection.Toolsets.GetElement(0).AllProjectImportSearchPaths.Count); 547Assert.Equal(2, allPaths.GetElement(0).PropertyElements.Count); 552Assert.Equal(2, allPaths.GetElement(1).PropertyElements.Count);
System.Configuration.ConfigurationManager (13)
System\Configuration\ConfigurationElementCollection.cs (12)
215if (Count != compareToElem.Count) 483_inheritedCount = Count; // After reset the count is the number of items actually inherited. 578(iFoundItem > Count + _removedItemCount - _inheritedCount)) 643index = Count + _removedItemCount - _inheritedCount; 647if ((index > Count + _removedItemCount - _inheritedCount) && (flagAsReplaced == false)) 764if (index >= Count - _inheritedCount) 824Items.Insert(Count + _removedItemCount - _inheritedCount, 874object[] keys = new object[Count]; 926while (Count - _inheritedCount > 0) Items.RemoveAt(removeIndex); 934int initialCount = Count; 995(index >= Count - _inheritedCount))
System\Diagnostics\TraceConfiguration.cs (1)
85TraceListener[] newListenerCollection = new TraceListener[sourceElement.Listeners.Count];