Base:
10 references to Send
System.Windows.Forms.Tests (10)
System\Windows\Forms\WindowsFormsSynchronizationContextTests.cs (10)
25copy.Send(callback, state); 29copy.Send(callback, state); 41context.Send(callback, new object()); 46context.Send(callback, new object()); 67context.Send(callback, state); 71context.Send(callback, state); 87Assert.Throws<InvalidAsynchronousStateException>(() => context.Send(callback, new object())); 101context.Send(callback, state); 105context.Send(callback, state); 157context.Send(_ => { stackTrace = Environment.StackTrace; }, null);