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