1 write to _item
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ItemTypeToolStripMenuItemTests.cs (1)
17
_item
= new ItemTypeToolStripMenuItem(typeof(string));
8 references to _item
System.Windows.Forms.Design.Tests (8)
System\Windows\Forms\Design\ItemTypeToolStripMenuItemTests.cs (8)
23
_item
.ItemType.Should().Be(typeof(string));
29
_item
.ConvertTo = true;
30
_item
.ConvertTo.Should().BeTrue();
36
_item
.Image.Should().BeOfType<Bitmap>().Which.Should().Be(ToolStripDesignerUtils.GetToolboxBitmap(typeof(string)));
42
_item
.Text.Should().BeOfType<string>().Which.Should().Be(ToolStripDesignerUtils.GetToolboxDescription(typeof(string)));
49
_item
.ToolboxItem = toolboxItem;
50
_item
.ToolboxItem.Should().Be(toolboxItem);
63
_item
.Dispose();