9 references to Contains
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionUI.cs (2)
351if (compTray?.SelectionGlyphs is not null && !compTray.SelectionGlyphs.Contains(glyph)) 358if (_designerActionAdorner?.Glyphs is { } glyphs && !glyphs.Contains(glyph))
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2242if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph))
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
322if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(_dummyToolStripGlyph))
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
482&& toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_bodyGlyph))
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
1148if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1194if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 2382if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2403if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph))