5 overrides of Attributes
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerOptionService.cs (1)
412public override AttributeCollection Attributes => _property.Attributes;
System.Data.Common (1)
System\Data\DataColumnPropertyDescriptor.cs (1)
18public override AttributeCollection Attributes
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
187public override AttributeCollection Attributes
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1000public override AttributeCollection Attributes
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1340public override AttributeCollection Attributes
185 references to Attributes
PresentationFramework (4)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
139ConstructorArgumentAttribute constructorArgumentAttribute = descriptor.Attributes[typeof(ConstructorArgumentAttribute)] as ConstructorArgumentAttribute; 872get { return _descriptor.Attributes; }
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (2)
165return _descriptor.Attributes; 170return descriptor.Attributes;
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
237AttributeCollection propertyDescriptorAttributes = propertyDescriptor.Attributes;
System.ComponentModel.TypeConverter (29)
System\ComponentModel\Design\DesignerOptionService.cs (1)
412public override AttributeCollection Attributes => _property.Attributes;
System\ComponentModel\ExtendedPropertyDescriptor.cs (3)
49ExtenderProvidedPropertyAttribute? attr = extender.Attributes[typeof(ExtenderProvidedPropertyAttribute)] as ExtenderProvidedPropertyAttribute; 78public override bool IsReadOnly => Attributes[typeof(ReadOnlyAttribute)]!.Equals(ReadOnlyAttribute.Yes); 96if (!(Attributes[typeof(DisplayNameAttribute)] is DisplayNameAttribute displayNameAttr) || displayNameAttr.IsDefaultAttribute())
System\ComponentModel\MemberDescriptor.cs (9)
74_attributes = new Attribute[descr.Attributes.Count]; 75descr.Attributes.CopyTo(_attributes, 0); 97if (oldMemberDescriptor.Attributes.Count != 0) 99foreach (Attribute o in oldMemberDescriptor.Attributes) 168public virtual string Category => _category ??= ((CategoryAttribute)Attributes[typeof(CategoryAttribute)]!).Category; 173public virtual string Description => _description ??= ((DescriptionAttribute)Attributes[typeof(DescriptionAttribute)]!).Description; 179public virtual bool IsBrowsable => ((BrowsableAttribute)Attributes[typeof(BrowsableAttribute)]!).Browsable; 195public virtual bool DesignTimeOnly => (DesignOnlyAttribute.Yes.Equals(Attributes[typeof(DesignOnlyAttribute)])); 204if (!(Attributes[typeof(DisplayNameAttribute)] is DisplayNameAttribute displayNameAttr) || displayNameAttr.IsDefaultAttribute())
System\ComponentModel\PropertyDescriptor.cs (5)
73AttributeCollection attrs = Attributes; 102AttributeCollection attrs = Attributes; 139public virtual bool IsLocalizable => (LocalizableAttribute.Yes.Equals(Attributes[typeof(LocalizableAttribute)])); 155DesignerSerializationVisibilityAttribute attr = (DesignerSerializationVisibilityAttribute)Attributes[typeof(DesignerSerializationVisibilityAttribute)]!; 290AttributeCollection attrs = Attributes;
System\ComponentModel\ReflectPropertyDescriptor.cs (4)
228Attribute? a = Attributes[typeof(AmbientValueAttribute)]; 297Attribute? a = Attributes[typeof(DefaultValueAttribute)]; 368public override bool IsReadOnly => SetMethodValue == null || ((ReadOnlyAttribute)Attributes[typeof(ReadOnlyAttribute)]!).IsReadOnly; 699private bool AttributesContainsDesignerVisibilityContent() => Attributes.Contains(DesignerSerializationVisibilityAttribute.Content);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
610ExtenderProvidedPropertyAttribute? eppa = prop.Attributes[typeof(ExtenderProvidedPropertyAttribute)] as ExtenderProvidedPropertyAttribute;
System\ComponentModel\TypeConverter.cs (3)
374get { return Attributes.Contains(ReadOnlyAttribute.Yes); } 387DefaultValueAttribute? attr = (DefaultValueAttribute?)Attributes[typeof(DefaultValueAttribute)]; 401DefaultValueAttribute? attr = (DefaultValueAttribute?)Attributes[typeof(DefaultValueAttribute)];
System\ComponentModel\TypeDescriptor.cs (3)
540oldPropertyDescriptor.Attributes[ 1273ExtenderProvidedPropertyAttribute? exAttr = member.Attributes[typeof(ExtenderProvidedPropertyAttribute)] as ExtenderProvidedPropertyAttribute; 2734Attribute? memberAttribute = member.Attributes[attribute.GetType()];
System.Data.Common (6)
System\Data\Common\DbConnectionStringBuilder.cs (2)
450attributes = GetAttributesFromCollection(reflected.Attributes); 564Attribute? attr = property.Attributes[attribute.GetType()];
System\Data\DataColumnPropertyDescriptor.cs (3)
24Attribute[] attrs = new Attribute[base.Attributes.Count + 1]; 25base.Attributes.CopyTo(attrs, 0); 33return base.Attributes;
System\Data\xmlsaver.cs (1)
227private static bool ContainsDesignerSerializationVisibleAttribute(PropertyDescriptor pd) => pd.Attributes.Contains(DesignerSerializationVisibilityAttribute.Visible);
System.Windows.Forms (7)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
193return base.Attributes; 266return base.Attributes;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2365&& selectedEntry.PropertyDescriptor.Attributes is not null)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MergedAttributeCollection.cs (1)
31_attributeCollections[i] = _owner._descriptors[i].Attributes;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
199propertyEntry.PropertyDescriptor.Attributes.Contains(NotifyParentPropertyAttribute.Yes))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
51protected override AttributeCollection Attributes => PropertyDescriptor.Attributes; 361propertyEntry.PropertyDescriptor.Attributes.Contains(NotifyParentPropertyAttribute.Yes))
System.Windows.Forms.Design (43)
System\ComponentModel\Design\ComponentDesigner.cs (1)
420if (Equals(prop.Attributes[typeof(DesignOnlyAttribute)], DesignOnlyAttribute.Yes))
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
65public override bool IsReadOnly => Attributes[typeof(ReadOnlyAttribute)]!.Equals(ReadOnlyAttribute.Yes);
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (4)
37propertyDescriptor.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content)) 117public override bool IsReadOnly => _propertyDescriptor.IsReadOnly || Equals(Attributes[typeof(ReadOnlyAttribute)], ReadOnlyAttribute.Yes); 180foreach (Attribute attr in _propertyDescriptor.Attributes) 279return _propertyDescriptor.ShouldSerializeValue(component) && Attributes.Contains(DesignerSerializationVisibilityAttribute.Content);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (3)
541if (md._member.Attributes.Contains(DesignOnlyAttribute.Yes)) 584&& !prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden)) 586if (!prop.IsReadOnly || prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content))
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (4)
69if (!prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden) && 70prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content) && 351if (!prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden)) 364else if (prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
383if (property.Attributes.Contains(filter)) 2154if (!property.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden)) 2210if (property.Attributes.Contains(DesignerSerializationVisibilityAttribute.Visible))
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
68!property.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden))
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1002get => _property.Attributes;
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (2)
79bool serializingContent = (descriptor is not null && descriptor.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content)); 102ExtenderProvidedPropertyAttribute? attribute = descriptor.Attributes[typeof(ExtenderProvidedPropertyAttribute)] as ExtenderProvidedPropertyAttribute;
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (3)
98bool serializeContents = propertyToSerialize.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content); 380if (!propertyToSerialize.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content)) 393bool isDesignTime = propertyToSerialize.Attributes.Contains(DesignOnlyAttribute.Yes);
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
85if (!shouldSerialize && !descriptor.Attributes.Contains(DesignOnlyAttribute.Yes))
System\ComponentModel\Design\UndoEngine.cs (1)
456!prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden) &&
System\ComponentModel\Design\UndoEngine.UndoUnit.ChangeUndoEvent.cs (1)
136if (member is not null && !(member.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden)))
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (3)
178if (e.Member is not null && e.Member.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content) && 225(e.Member?.Attributes is not null && e.Member.Attributes.Contains(DesignerSerializationVisibilityAttribute.Content)))
System\Windows\Forms\Design\ControlDesigner.cs (3)
314if (autoSizeProp?.Attributes is AttributeCollection attributes 1641Attribute[] attrs = new Attribute[controlsProp.Attributes.Count]; 1642controlsProp.Attributes.CopyTo(attrs, 0);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1510ListBindableAttribute? listBindable = property.Attributes[typeof(ListBindableAttribute)] as ListBindableAttribute;
System\Windows\Forms\Design\ImageListDesigner.cs (2)
127Attribute[] attrs = new Attribute[imageProp.Attributes.Count]; 128imageProp.Attributes.CopyTo(attrs, 0);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
942!(prop.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden) || 943prop.Attributes.Contains(BrowsableAttribute.No))) 971var sizeAttr = (DefaultValueAttribute)prop.Attributes[typeof(DefaultValueAttribute)];
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
550if (sizeProp is not null && sizeProp.Attributes.Contains(DesignerSerializationVisibilityAttribute.Hidden))
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
1420DesignerSerializationVisibilityAttribute dsv = member.Attributes[typeof(DesignerSerializationVisibilityAttribute)] as DesignerSerializationVisibilityAttribute; 2122Attribute[] attrs = new Attribute[controlsProp.Attributes.Count]; 2123controlsProp.Attributes.CopyTo(attrs, 0);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
575if (getProperty.Attributes[typeof(BrowsableAttribute)] is BrowsableAttribute attribute)
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\ComponentDesignerTests.cs (10)
2318Assert.True(descriptor.Attributes.Count >= 7); 2319Assert.True(result.Attributes.Count >= 8); 2338Assert.True(descriptor.Attributes.Count >= 7); 2339Assert.True(result.Attributes.Count >= 8); 2442Assert.True(Assert.IsType<ReadOnlyAttribute>(result.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 2748Assert.True(descriptor.Attributes.Count >= 7); 2749Assert.True(result.Attributes.Count >= 8); 2769Assert.True(descriptor.Attributes.Count >= 7); 2770Assert.True(result.Attributes.Count >= 8); 2882Assert.True(Assert.IsType<ReadOnlyAttribute>(result.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
209Assert.NotEmpty(property.Attributes);
System.Windows.Forms.Primitives (2)
System\ComponentModel\MemberDescriptorExtensions.cs (2)
13attribute = descriptor?.Attributes[typeof(T)] as T; 20=> descriptor?.Attributes[typeof(T)] as T;
System.Windows.Forms.Tests (81)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (81)
24Assert.NotNull(property.Attributes[typeof(CustomAttribute)]); 25Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 26Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 27Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 28Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 29Assert.Null(property.Attributes[typeof(DispIdAttribute)]); 40Assert.Null(property.Attributes[typeof(CustomAttribute)]); 41Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 42Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 43Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 44Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 45Assert.Equal(PInvokeCore.DISPID_TEXT, Assert.IsType<DispIdAttribute>(property.Attributes[typeof(DispIdAttribute)]).Value); 56Assert.Null(property.Attributes[typeof(CustomAttribute)]); 57Assert.False(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 58Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 59Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 60Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 61Assert.Equal(PInvokeCore.DISPID_TEXT, Assert.IsType<DispIdAttribute>(property.Attributes[typeof(DispIdAttribute)]).Value); 72Assert.Null(property.Attributes[typeof(CustomAttribute)]); 73Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 74Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 75Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 76Assert.True(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 77Assert.Equal(PInvokeCore.DISPID_TEXT, Assert.IsType<DispIdAttribute>(property.Attributes[typeof(DispIdAttribute)]).Value); 88Assert.Null(property.Attributes[typeof(CustomAttribute)]); 89Assert.False(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 90Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 91Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 92Assert.True(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 93Assert.Equal(PInvokeCore.DISPID_TEXT, Assert.IsType<DispIdAttribute>(property.Attributes[typeof(DispIdAttribute)]).Value); 502Assert.NotNull(property.Attributes[typeof(CustomAttribute)]); 503Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 504Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 505Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 506Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 507Assert.Null(property.Attributes[typeof(DispIdAttribute)]); 526Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 545Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 570Assert.NotNull(property.Attributes[typeof(CustomAttribute)]); 571Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 572Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 573Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 574Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 575Assert.Null(property.Attributes[typeof(DispIdAttribute)]); 606Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 637Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 658Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 685Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 706Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 733Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 787Assert.NotNull(property.Attributes[typeof(CustomAttribute)]); 788Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 789Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 790Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 791Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 792Assert.Null(property.Attributes[typeof(DispIdAttribute)]); 809Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 826Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 852Assert.NotNull(property.Attributes[typeof(CustomAttribute)]); 853Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 854Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 855Assert.Empty(Assert.IsType<DescriptionAttribute>(property.Attributes[typeof(DescriptionAttribute)]).Description); 856Assert.False(Assert.IsType<ReadOnlyAttribute>(property.Attributes[typeof(ReadOnlyAttribute)]).IsReadOnly); 857Assert.Null(property.Attributes[typeof(DispIdAttribute)]); 886Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 915Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 944Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 973Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 991Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1016Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1035Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1060Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1087Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1112Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1137Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1160Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1185Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1208Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1236Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1262Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable); 1290Assert.True(Assert.IsType<BrowsableAttribute>(property.Attributes[typeof(BrowsableAttribute)]).Browsable);
System.Xaml (1)
System\Windows\Markup\ValueSerializer.cs (1)
170if (descriptor.Attributes[typeof(ValueSerializerAttribute)] is ValueSerializerAttribute serializerAttribute)