8 references to Invoke
System.Windows.Forms.Design (4)
System\ComponentModel\Design\MenuCommandService.cs (1)
435cmd.Invoke(arg);
System\Windows\Forms\Design\StatusCommandUI.cs (3)
61StatusRectCommand?.Invoke(bounds); 84StatusRectCommand?.Invoke(bounds); 92StatusRectCommand?.Invoke(bounds);
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\StatusCommandUITests.cs (4)
39_mockMenuCommand.Verify(mc => mc.Invoke(It.IsAny<Rectangle>()), Times.Never); 100_mockMenuCommand.Verify(cmd => cmd.Invoke(new Rectangle(50, 60, 0, 0)), Times.Once); 115_mockMenuCommand.Verify(cmd => cmd.Invoke(It.IsAny<Rectangle>()), Times.Never); 126_mockMenuCommand.Verify(mc => mc.Invoke(It.Is<Rectangle>(r =>