System\Diagnostics\Eventing\TraceLogging\EventDataAttribute.cs (1)
21: Attribute
System\Diagnostics\Eventing\TraceLogging\EventFieldAttribute.cs (1)
39: Attribute
System\Diagnostics\Eventing\TraceLogging\EventIgnoreAttribute.cs (1)
18: Attribute
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (21)
206private static AttributeCollection CreateAttributeCollection(Attribute[] attrArray)
208Dictionary<object, Attribute> dict = new Dictionary<object, Attribute>(attrArray.Length);
217Attribute a = attrArray[idx];
229Attribute[] finalArray;
233finalArray = new Attribute[finalCount];
286private static Attribute[] GetRawAttributes(Type objectType, string member, MemberDescriptor parentDescriptor, bool isEvent)
306Attribute[] attrArray = new Attribute[attrs.Count];
320Attribute[] attributes;
356attributes = new Attribute[0];
361Object[] attrs = reflectMember.GetCustomAttributes(typeof(Attribute), true);
379attrs = reflectType.GetCustomAttributes(typeof(Attribute), true);
396attrs = iface.GetCustomAttributes(typeof(Attribute), false);
428attrList.AddRange(reflectMember.GetCustomAttributes(typeof(Attribute), true));
433attributes = new Attribute[attrList.Count];
437attributes[idx] = (Attribute)attrList[idx];
740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
756PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
784private Attribute[] _rawAttributes;
1013Attribute[] attrs = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, true);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (11)
803PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(),
815PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(),
827PropertyAttributes = TypeDescriptor.GetAttributes(typeof(PropertyKind)).OfType<Attribute>().Union( new Attribute[] { new EditorAttribute(typeof(DirectionPropertyEditor), typeof(PropertyValueEditor)) }).ToArray(),
839PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(PropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(),
851PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
859PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
866PropertyAttributes = TypeDescriptor.GetAttributes(typeof(bool)).OfType<Attribute>().Union(
867new Attribute[]
887PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (10)
1012PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(),
1024PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(),
1036PropertyAttributes = TypeDescriptor.GetAttributes(typeof(ModelItem)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(ScopeValueEditor), typeof(PropertyValueEditor)) }).ToArray(),
1048PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(DialogPropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(),
1060PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
1069PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
1081PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VariableModifiers)).OfType<Attribute>().ToArray(),
1096PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
477foreach (Attribute attribute in attributes)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (21)
206private static AttributeCollection CreateAttributeCollection(Attribute[] attrArray)
208Dictionary<object, Attribute> dict = new Dictionary<object, Attribute>(attrArray.Length);
217Attribute a = attrArray[idx];
229Attribute[] finalArray;
233finalArray = new Attribute[finalCount];
286private static Attribute[] GetRawAttributes(Type objectType, string member, MemberDescriptor parentDescriptor, bool isEvent)
306Attribute[] attrArray = new Attribute[attrs.Count];
320Attribute[] attributes;
356attributes = new Attribute[0];
361Object[] attrs = reflectMember.GetCustomAttributes(typeof(Attribute), true);
379attrs = reflectType.GetCustomAttributes(typeof(Attribute), true);
396attrs = iface.GetCustomAttributes(typeof(Attribute), false);
428attrList.AddRange(reflectMember.GetCustomAttributes(typeof(Attribute), true));
433attributes = new Attribute[attrList.Count];
437attributes[idx] = (Attribute)attrList[idx];
740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
756PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
784private Attribute[] _rawAttributes;
1013Attribute[] attrs = MetadataStoreProvider.GetRawAttributes(_objectType, Name, _parent, true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (11)
803PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(),
815PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(),
827PropertyAttributes = TypeDescriptor.GetAttributes(typeof(PropertyKind)).OfType<Attribute>().Union( new Attribute[] { new EditorAttribute(typeof(DirectionPropertyEditor), typeof(PropertyValueEditor)) }).ToArray(),
839PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(PropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(),
851PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
859PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
866PropertyAttributes = TypeDescriptor.GetAttributes(typeof(bool)).OfType<Attribute>().Union(
867new Attribute[]
887PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (10)
1012PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(),
1024PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(),
1036PropertyAttributes = TypeDescriptor.GetAttributes(typeof(ModelItem)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(ScopeValueEditor), typeof(PropertyValueEditor)) }).ToArray(),
1048PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(DialogPropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(),
1060PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
1069PropertyAttributes = new Attribute[] { BrowsableAttribute.No },
1081PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VariableModifiers)).OfType<Attribute>().ToArray(),
1096PropertyAttributes = new Attribute[] { BrowsableAttribute.No },