11 instantiations of ClassWithDefaultProperty
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (11)
44
Assert.Equal("Value", tab.GetDefaultProperty(new
ClassWithDefaultProperty
()).Name);
65
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
());
82
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), null);
92
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), Array.Empty<Attribute>());
103
PropertyDescriptorCollection properties = tab.GetProperties(new
ClassWithDefaultProperty
(), [new BrowsableAttribute(false)]);
119
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), null);
134
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
150
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
166
PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new
ClassWithDefaultProperty
(), null);
176
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), Array.Empty<Attribute>());
187
PropertyDescriptorCollection properties = tab.GetProperties(null, new
ClassWithDefaultProperty
(), [new BrowsableAttribute(false)]);
19 references to ClassWithDefaultProperty
System.Windows.Forms.Tests (19)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (19)
67
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
68
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
84
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
85
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
94
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
95
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
96
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
105
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
121
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
122
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
136
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
137
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
152
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
153
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
178
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.Value)]);
179
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
180
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.BrowsableProperty)]);
189
Assert.NotNull(properties[nameof(
ClassWithDefaultProperty
.NotBrowsableProperty)]);
244
public
ClassWithDefaultProperty
Child { get; set; }