7 writes to Filter
System.Windows.Forms.Design (1)
System\Drawing\Design\ToolboxItem.cs (1)
629
Filter
= filterItems.ToArray();
System.Windows.Forms.Design.Tests (6)
System\Drawing\Design\ToolboxItemTests.cs (6)
266
Filter
= value
272
item.
Filter
= value;
994
Filter
= new ToolboxItemFilterAttribute[] { new("Filter") },
1349
Filter
= filter,
1394
Filter
= filter,
1423
Filter
= filter,
9 references to Filter
System.Windows.Forms.Design.Tests (9)
System\Drawing\Design\ToolboxItemTests.cs (9)
26
Assert.Empty(item.
Filter
);
27
Assert.Same(item.
Filter
, item.
Filter
);
268
Assert.Equal(expected, item.
Filter
);
273
Assert.Equal(expected, item.
Filter
);
1368
Assert.Equal(new string[] { type.Name, "Filter", "System.Drawing.Design.Tests.ToolboxItemTests+" + type.Name }, item.
Filter
.Cast<ToolboxItemFilterAttribute>().Select(a => a.FilterString).OrderBy(f => f));
1376
Assert.Equal(new string[] { type.Name, "Filter", "System.Drawing.Design.Tests.ToolboxItemTests+" + type.Name }, item.
Filter
.Cast<ToolboxItemFilterAttribute>().Select(a => a.FilterString).OrderBy(f => f));
1405
Assert.Equal(new string[] { "System.Object" }, item.
Filter
.Cast<ToolboxItemFilterAttribute>().Select(a => a.FilterString));
1433
Assert.Equal(filter, item.
Filter
);