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)
2258if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph))
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
316if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(_dummyToolStripGlyph))
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
470&& toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_bodyGlyph))
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
1121if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1167if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 2337if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2358if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph))