16 references to OleRequired
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Application.cs (1)
2441Application.OleRequired();
winforms\Managed\System\WinForms\AxHost.cs (2)
285if (Application.OleRequired() != ApartmentState.STA) { 3641if (Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\Clipboard.cs (2)
111if (Application.OleRequired() != System.Threading.ApartmentState.STA) { 218if (Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
201if (Application.OleRequired() != System.Threading.ApartmentState.STA) { 249if (Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\Control.cs (1)
11238if (Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\FileDialog.cs (1)
982if (Control.CheckForIllegalCrossThreadCalls && Application.OleRequired() != System.Threading.ApartmentState.STA) {
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
257if (Control.CheckForIllegalCrossThreadCalls && Application.OleRequired() != System.Threading.ApartmentState.STA)
winforms\Managed\System\WinForms\InputLanguage.cs (2)
65Application.OleRequired(); 73Application.OleRequired();
winforms\Managed\System\WinForms\ListView.cs (1)
4776Application.OleRequired();
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
252if (Application.OleRequired() != System.Threading.ApartmentState.STA)
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
108if (Application.OleRequired() != ApartmentState.STA) { 1361if (Application.OleRequired() != System.Threading.ApartmentState.STA) {