33 references to new
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
131using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true);
System.Windows.Forms.Tests (32)
System\Windows\Forms\BinaryFormatUtilitiesTests.BinaryFormatterFullCompatScope.cs (1)
15_binaryFormatterInClipboardDragDropScope = new(enable: true);
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (7)
417using BinaryFormatterInClipboardDragDropScope clipboardDragDropScope = new(enable: true); 741using (BinaryFormatterInClipboardDragDropScope binaryFormatScope = new(enable: true)) 811using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 842using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 878using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 915using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 928using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true);
System\Windows\Forms\ClipboardTests.cs (12)
460using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 481using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 678using (BinaryFormatterInClipboardDragDropScope scope = new(enable: true)) 685using (BinaryFormatterInClipboardDragDropScope scope = new(enable: false)) 751using BinaryFormatterInClipboardDragDropScope binaryScope2 = new(enable: false); 808using (BinaryFormatterInClipboardDragDropScope binaryFormatterScope = new(enable: true)) 829using BinaryFormatterInClipboardDragDropScope binaryFormatterScope = new(enable: true); 844using (BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true)) 920using (BinaryFormatterInClipboardDragDropScope scope = new(enable: true)) 964using BinaryFormatterInClipboardDragDropScope scope = new(enable: true); 1334using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 1358using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: copy);
System\Windows\Forms\DataObjectTests.cs (1)
2911using BinaryFormatterInClipboardDragDropScope formatterScope = new(enable: true);
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (11)
109using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 146using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 237using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 249using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 287using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 314using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 338using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 378using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 390using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 404using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true); 434using BinaryFormatterInClipboardDragDropScope clipboardScope = new(enable: true);