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