6 references to CoreAppContextSwitches
Microsoft.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);