1 write to ItemAdditionVisibility
System.Windows.Forms (1)
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttribute.cs (1)
21ItemAdditionVisibility = visibility;
7 references to ItemAdditionVisibility
System.Windows.Forms (3)
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttribute.cs (3)
33return obj is ToolStripItemDesignerAvailabilityAttribute other && other.ItemAdditionVisibility == ItemAdditionVisibility; 36public override int GetHashCode() => ItemAdditionVisibility.GetHashCode();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
287if (visibilityAttribute is not null && ((visibilityAttribute.ItemAdditionVisibility & currentToolStripVisibility) == currentToolStripVisibility))
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\ToolStripItemDesignerAvailabilityAttributeTests.cs (3)
13Assert.Equal(ToolStripItemDesignerAvailability.None, attribute.ItemAdditionVisibility); 23Assert.Equal(visibility, attribute.ItemAdditionVisibility); 31Assert.Equal(ToolStripItemDesignerAvailability.None, attribute.ItemAdditionVisibility);