1 write to _descriptor
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripCustomTypeDescriptorTests.cs (1)
16
_descriptor
= new(_toolStrip);
12 references to _descriptor
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\ToolStripCustomTypeDescriptorTests.cs (12)
24
ToolStrip instance =
_descriptor
.TestAccessor().Dynamic._instance;
30
_descriptor
.GetPropertyOwner(null).Should().Be(_toolStrip);
35
PropertyDescriptorCollection properties1 =
_descriptor
.GetProperties();
36
PropertyDescriptorCollection properties2 =
_descriptor
.GetProperties();
46
PropertyDescriptorCollection properties1 =
_descriptor
.GetProperties(attributes);
47
PropertyDescriptorCollection properties2 =
_descriptor
.GetProperties(attributes);
54
_descriptor
.GetProperties().Cast<PropertyDescriptor>().Should().NotContain(p => p.Name == "Items");
61
_descriptor
.GetProperties(attributes).Cast<PropertyDescriptor>().Should().NotContain(p => p.Name == "Items");
67
_descriptor
.GetProperties();
68
_descriptor
.GetProperties().Cast<PropertyDescriptor>().Should().NotContain(p => p.Name == "Items");
75
_descriptor
.GetProperties(attributes);
76
_descriptor
.GetProperties(attributes).Cast<PropertyDescriptor>().Should().NotContain(p => p.Name == "Items");