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