35 references to Count
System (14)
compmod\system\componentmodel\AttributeCollection.cs (4)
109Attribute[] newArray = new Attribute[existing.Count + newAttributes.Length]; 110int actualCount = existing.Count; 123for (int existingIdx = 0; existingIdx < existing.Count; existingIdx++) 403return Count;
compmod\system\componentmodel\MemberDescriptor.cs (2)
91this.attributes = new Attribute[descr.Attributes.Count]; 113if (oldMemberDescriptor.Attributes.Count != 0) {
compmod\system\componentmodel\PropertyDescriptor.cs (1)
302for (int i = 0; i < attrs.Count; i++) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (3)
1138ArrayList extendedList = new ArrayList(attributes.Count); 1539if (ifaceAttrs.Count > 0) { 1540Attribute[] temp = new Attribute[attrArray.Length + ifaceAttrs.Count];
compmod\system\componentmodel\TypeDescriptor.cs (4)
584for (int i = 0; i < attributes.Count; i++) 3390Attribute[] newArray = new Attribute[existing.Count + newAttrs.Length]; 3391int actualCount = existing.Count; 3402for (int existingIdx = 0; existingIdx < existing.Count; existingIdx++)
System.Activities (4)
System\Activities\Activity.cs (1)
1678for (int i = 0; i < propertyAttributes.Count; i++)
System\Activities\DynamicActivityTypeDescriptor.cs (3)
173Attribute[] totalAttributes = new Attribute[inheritedAttributes.Count + propertyAttributes.Count + 1]; 175propertyAttributes.CopyTo(totalAttributes, inheritedAttributes.Count); 176totalAttributes[inheritedAttributes.Count + propertyAttributes.Count] = new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
306Attribute[] attrArray = new Attribute[attrs.Count];
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1339if (this.expressionModelProperty != null && this.expressionModelProperty.Attributes.Count != 0)
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
306Attribute[] attrArray = new Attribute[attrs.Count];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1339if (this.expressionModelProperty != null && this.expressionModelProperty.Attributes.Count != 0)
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
330Attribute[] attributes = new Attribute[collection.Count];
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
26Attribute[] attrs = new Attribute[base.Attributes.Count + 1];
System.Web.Mobile (2)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
190Attribute[] attrs = new Attribute[runtimeAttributes.Count + 1]; 193attrs[runtimeAttributes.Count] = newAttribute;
System.Windows.Forms (8)
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
448Attribute[] attributes = new Attribute[value.Count]; 1291Attribute[] attrs = new Attribute[BrowsableAttributes.Count];
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1531Attribute[] attributes = new Attribute[this.BrowsableAttributes.Count];
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
143Attribute[] attrs = new Attribute[parentEntry.BrowsableAttributes.Count];
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (4)
84if (this.browsableAttributes != null && value != null && this.browsableAttributes.Count == value.Count) { 85Attribute[] attr1 = new Attribute[browsableAttributes.Count]; 86Attribute[] attr2 = new Attribute[value.Count];
WindowsBase (1)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
672List<Attribute> newAttributes = new List<Attribute>(baseAttributes.Count + 1);