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