2 instantiations of InvalidAsynchronousStateException
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
3499throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid);
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (1)
83throw new InvalidAsynchronousStateException(SR.ThreadNoLongerValid);
6 references to InvalidAsynchronousStateException
netstandard (1)
netstandard.cs (1)
350[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.InvalidAsynchronousStateException))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
336[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.InvalidAsynchronousStateException))]
System.ComponentModel.Primitives (2)
System\ComponentModel\InvalidAsynchronousStateException.cs (2)
19/// Initializes a new instance of the <see cref='System.ComponentModel.InvalidAsynchronousStateException'/> 27/// Initializes a new instance of the <see cref='System.ComponentModel.InvalidAsynchronousStateException'/>
System.ComponentModel.TypeConverter (1)
artifacts\obj\System.ComponentModel.TypeConverter\Debug\net10.0\System.ComponentModel.TypeConverter.Forwards.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.InvalidAsynchronousStateException))]
System.Windows.Forms.Tests (1)
System\Windows\Forms\WindowsFormsSynchronizationContextTests.cs (1)
87Assert.Throws<InvalidAsynchronousStateException>(() => context.Send(callback, new object()));