46 references to AttributeCollection
PresentationFramework (2)
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (2)
283
get { return new
AttributeCollection
(); }
352
get { return new
AttributeCollection
(); }
System (10)
compmod\system\componentmodel\AttributeCollection.cs (2)
47
public static readonly AttributeCollection Empty = new
AttributeCollection
((Attribute[])null);
153
return new
AttributeCollection
(attributes);
compmod\system\componentmodel\MemberDescriptor.cs (1)
295
return new
AttributeCollection
(AttributeArray);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1574
_attributes = new
AttributeCollection
(attrArray);
compmod\system\componentmodel\TypeDescriptor.cs (6)
1372
return new
AttributeCollection
((Attribute[])null);
1397
return new
AttributeCollection
((Attribute[])null);
1469
attrs = new
AttributeCollection
(attrArray);
2646
cacheValue = new
AttributeCollection
(attrArray);
2806
cacheValue = new
AttributeCollection
(attrArray);
3430
return new
AttributeCollection
(finalAttr);
System.Activities (1)
System\Activities\DynamicActivityTypeDescriptor.cs (1)
177
this.attributes = new
AttributeCollection
(totalAttributes);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
248
return new
AttributeCollection
(finalArray);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
182
return new
AttributeCollection
(this.GetType().GetCustomAttributes(false).OfType<Attribute>().ToArray());
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
37
return new
AttributeCollection
(attributeList.ToArray());
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationAttributeStore.cs (1)
245
return removedAttribute ? new
AttributeCollection
(attributes.ToArray()) : propertyDescriptor.Attributes;
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
248
return new
AttributeCollection
(finalArray);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
182
return new
AttributeCollection
(this.GetType().GetCustomAttributes(false).OfType<Attribute>().ToArray());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
37
return new
AttributeCollection
(attributeList.ToArray());
fx\src\data\System\Data\Common\DataRecordInternal.cs (1)
287
return new
AttributeCollection
((Attribute[])null);
fx\src\data\System\Data\Common\dbdatarecord.cs (1)
88
return new
AttributeCollection
((Attribute[])null);
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
30
return new
AttributeCollection
(attrs);
fx\src\data\System\Data\DataRowView.cs (1)
260
return new
AttributeCollection
((Attribute[])null);
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
40
return new
AttributeCollection
((Attribute[])null);
System.Data.Entity (1)
System\Data\Common\DataRecord.cs (1)
535
_attrCache.Add(pd, new
AttributeCollection
(attrArray));
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
54
_attributes = new
AttributeCollection
(newAttributes.ToArray());
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceWrapper.cs (1)
78
System.ComponentModel.AttributeCollection System.ComponentModel.ICustomTypeDescriptor.GetAttributes() { return new System.ComponentModel.
AttributeCollection
(); }
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
728
return new
AttributeCollection
(AttributeArray);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
30
private AttributeCollection staticAttrs = new
AttributeCollection
(new Attribute[]{BrowsableAttribute.Yes, DesignTimeVisibleAttribute.No});
348
return new
AttributeCollection
(temp);
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
445
browsableAttributes = new
AttributeCollection
(new Attribute[]{BrowsableAttribute.Yes});
450
browsableAttributes = new
AttributeCollection
(attributes);
461
browsableAttributes = new
AttributeCollection
(new Attribute[]{new BrowsableAttribute(true)});
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
534
public MergedAttributeCollection(MergePropertyDescriptor owner) :
base
((Attribute[])null) {
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
72
browsableAttributes = new
AttributeCollection
(new Attribute[]{BrowsableAttribute.Yes});
272
this.browsableAttributes = new
AttributeCollection
(new Attribute[]{BrowsableAttribute.Yes});
System.Workflow.Activities (2)
Common\BasePropertyDescriptor.cs (2)
207
return new
AttributeCollection
((Attribute[])attributes.ToArray(typeof(Attribute)));
467
return new
AttributeCollection
((Attribute[])attributes.ToArray(typeof(Attribute)));
System.Workflow.ComponentModel (6)
AuthoringOM\Design\PropertyDescriptors.cs (4)
304
return new
AttributeCollection
(attributes.ToArray());
816
AttributeCollection newCollection = new
AttributeCollection
((Attribute[])collection.ToArray(typeof(Attribute)));
886
AttributeCollection newCollection = new
AttributeCollection
((Attribute[])collection.ToArray(typeof(Attribute)));
979
AttributeCollection newCollection = new
AttributeCollection
((Attribute[])collection.ToArray(typeof(Attribute)));
Shared\BasePropertyDescriptor.cs (2)
206
return new
AttributeCollection
((Attribute[])attributes.ToArray(typeof(Attribute)));
466
return new
AttributeCollection
((Attribute[])attributes.ToArray(typeof(Attribute)));
WindowsBase (1)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
541
return new
AttributeCollection
(attrArray);