5 references to ContainsKey
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\GroupedContextMenuStrip.cs (1)
50
if (groupName is not null && _groups is not null && _groups.
ContainsKey
(groupName))
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\ContextMenuStripGroupCollectionTests.cs (4)
17
collection.
ContainsKey
("newKey").Should().BeTrue();
25
bool containsKey = collection.
ContainsKey
("nonExistentKey");
50
collection.
ContainsKey
("key1").Should().BeTrue();
51
collection.
ContainsKey
("key2").Should().BeTrue();