8 references to CoreAppContextSwitches
System.Private.Windows.Core (6)
System\Private\Windows\Ole\BinaryFormatUtilities.cs (2)
61
if (!
CoreAppContextSwitches
.ClipboardDragDropEnableUnsafeBinaryFormatterSerialization)
204
if (!
CoreAppContextSwitches
.ClipboardDragDropEnableUnsafeBinaryFormatterSerialization)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (3)
386
when (!
CoreAppContextSwitches
.ClipboardThrowExceptionsForGetAPIs && !e.IsCriticalException())
400
if (
CoreAppContextSwitches
.ClipboardThrowExceptionsForGetAPIs)
467
when (!
CoreAppContextSwitches
.ClipboardThrowExceptionsForGetAPIs && (!request.TypedRequest || ex is not NotSupportedException))
System\Private\Windows\Ole\TypeBinder.cs (1)
70
Debug.Assert(
CoreAppContextSwitches
.ClipboardDragDropEnableUnsafeBinaryFormatterSerialization);
System.Windows.Forms (2)
System\Windows\Forms\OLE\DropTarget.cs (1)
200
bool enableSyncOverAsync = !
CoreAppContextSwitches
.DragDropDisableSyncOverAsync;
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
135
if (
CoreAppContextSwitches
.ClipboardThrowExceptionsForGetAPIs)