5 writes to CheckForIllegalCrossThreadCalls
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
274
Control.
CheckForIllegalCrossThreadCalls
= true;
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
16
Control.
CheckForIllegalCrossThreadCalls
= true;
System\Windows\Forms\DragDropHelperTests.cs (1)
159
Control.
CheckForIllegalCrossThreadCalls
= true;
System\Windows\Forms\TaskDialogTests.cs (2)
17
Control.
CheckForIllegalCrossThreadCalls
= true;
41
Control.
CheckForIllegalCrossThreadCalls
= true;
6 references to CheckForIllegalCrossThreadCalls
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (1)
2118
if (
CheckForIllegalCrossThreadCalls
&& !t_inCrossThreadSafeCall && InvokeRequired)
System\Windows\Forms\Control.MultithreadSafeCallScope.cs (1)
22
if (
CheckForIllegalCrossThreadCalls
&& !t_inCrossThreadSafeCall)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
728
if (Control.
CheckForIllegalCrossThreadCalls
&& Application.OleRequired() != ApartmentState.STA)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
448
if (Control.
CheckForIllegalCrossThreadCalls
&& Application.OleRequired() != ApartmentState.STA)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
216
if (Control.
CheckForIllegalCrossThreadCalls
&& InvokeRequired)
System\Windows\Forms\OLE\DragDropHelper.cs (1)
520
if (Control.
CheckForIllegalCrossThreadCalls
&& Application.OleRequired() != ApartmentState.STA)