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)
449Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 485Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 538Assert.Equal(2, msbuildToolsetSection.Toolsets.GetElement("2.0").PropertyElements.Count); 543Assert.Equal(3, msbuildToolsetSection.Toolsets.GetElement(0).AllProjectImportSearchPaths.Count); 546Assert.Equal(2, allPaths.GetElement(0).PropertyElements.Count); 551Assert.Equal(2, allPaths.GetElement(1).PropertyElements.Count);
System.Configuration.ConfigurationManager (13)
System\Configuration\ConfigurationElementCollection.cs (12)
212if (Count != compareToElem.Count) 480_inheritedCount = Count; // After reset the count is the number of items actually inherited. 575(iFoundItem > Count + _removedItemCount - _inheritedCount)) 640index = Count + _removedItemCount - _inheritedCount; 644if ((index > Count + _removedItemCount - _inheritedCount) && (flagAsReplaced == false)) 761if (index >= Count - _inheritedCount) 821Items.Insert(Count + _removedItemCount - _inheritedCount, 871object[] keys = new object[Count]; 923while (Count - _inheritedCount > 0) Items.RemoveAt(removeIndex); 931int initialCount = Count; 992(index >= Count - _inheritedCount))
System\Diagnostics\TraceConfiguration.cs (1)
85TraceListener[] newListenerCollection = new TraceListener[sourceElement.Listeners.Count];