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