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