11 instantiations of ClassWithDefaultProperty
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (11)
42
Assert.Equal("Value", tab.GetDefaultProperty(new
ClassWithDefaultProperty
()).Name);
63
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
());
80
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), null);
90
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), Array.Empty<Attribute>());
101
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), [new BrowsableAttribute(false)]);
117
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), null);
132
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
148
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
164
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
174
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), Array.Empty<Attribute>());
185
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), [new BrowsableAttribute(false)]);
20 references to ClassWithDefaultProperty
System.Windows.Forms.Tests (20)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (20)
65
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
66
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
82
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
83
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
92
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
93
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
94
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
103
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
119
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
120
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
134
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
135
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
150
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
151
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
176
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
177
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
178
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
187
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
212
[DefaultProperty(nameof(
ClassWithDefaultProperty
.Value))]
242
public
ClassWithDefaultProperty
Child { get; set; }