65 references to new
ComDisabled.Tests (2)
ClipboardComTests.cs (2)
30using BinaryFormatterScope scope = new(enable: false); 44using BinaryFormatterScope scope = new(enable: false);
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
130using BinaryFormatterScope scope = new(enable: true);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ExceptionCollectionTests.cs (1)
48using BinaryFormatterScope formatterScope = new(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
686using BinaryFormatterScope formatterScope = new(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (1)
91using BinaryFormatterScope formatterScope = new(enable: formatterEnabled);
System.Windows.Forms.Primitives.TestUtilities (1)
System\Windows\Forms\BinaryFormat\BinaryFormatTestExtensions.cs (1)
28using BinaryFormatterScope formatterScope = new(enable: true);
System.Windows.Forms.Tests (58)
SerializableTypesTests.cs (9)
19using BinaryFormatterScope formatterScope = new(enable: true); 72using BinaryFormatterScope formatterScope = new(enable: true); 105using BinaryFormatterScope formatterScope = new(enable: true); 125using BinaryFormatterScope formatterScope = new(enable: true); 158using BinaryFormatterScope formatterScope = new(enable: true); 205using BinaryFormatterScope formatterScope = new(enable: true); 247using BinaryFormatterScope formatterScope = new(enable: true); 267using BinaryFormatterScope formatterScope = new(enable: true); 344using BinaryFormatterScope formatterScope = new(enable: true);
System\Resources\ResxDataNodeTests.cs (1)
81using BinaryFormatterScope formatterScope = new(enable: false);
System\Resources\ResXResourceReaderTests.cs (2)
15using BinaryFormatterScope formatterScope = new(enable: true); 44using BinaryFormatterScope formatterScope = new(enable: false);
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (3)
15using BinaryFormatterScope formatterScope = new(enable: true); 46using BinaryFormatterScope formatterScope = new(enable: false); 65using BinaryFormatterScope formatterScope = new(enable: false);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
68using BinaryFormatterScope scope = new(enable: true); 150using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\BinaryFormatUtilitiesTests.BinaryFormatterFullCompatScope.cs (1)
16_binaryFormatterScope = new(enable: true);
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (6)
355using (BinaryFormatterScope scope = new(enable: true)) 725using BinaryFormatterScope scope = new(enable: true); 751using BinaryFormatterScope scope = new(enable: true); 782using BinaryFormatterScope scope = new(enable: true); 819using BinaryFormatterScope scope = new(enable: true); 832using BinaryFormatterScope scope = new(enable: true);
System\Windows\Forms\ClipboardTests.cs (9)
458using BinaryFormatterScope scope = new(enable: true); 479using BinaryFormatterScope scope = new(enable: true); 541using BinaryFormatterScope scope = new(enable: false); 715using (BinaryFormatterScope scope = new(enable: true)) 802using BinaryFormatterScope scope = new(enable: true); 819using BinaryFormatterScope scope = new(enable: true); 836using BinaryFormatterScope scope = new(enable: true); 918using (BinaryFormatterScope scope2 = new(enable: true)) 966using BinaryFormatterScope scope2 = new(enable: true);
System\Windows\Forms\Control.ActiveXImplTests.cs (3)
18using BinaryFormatterScope formatterScope = new(enable: false); 38using BinaryFormatterScope formatterScope = new(enable: false); 56using BinaryFormatterScope formatterScope = new(enable: false);
System\Windows\Forms\DataObjectTests.cs (1)
2819using BinaryFormatterScope scope = new(enable: true);
System\Windows\Forms\ImageList.NativeImageListTests.cs (1)
13using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\ImageListStreamerTests.cs (2)
13using BinaryFormatterScope formatterScope = new(enable: true); 45using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\ImageListTests.cs (1)
440using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1771using BinaryFormatterScope formatterScope = new(enable: true); 1811using BinaryFormatterScope formatterScope = new(enable: true); 1833using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\ListViewGroupTests.cs (1)
1337using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\ListViewSubItemTests.cs (1)
579using BinaryFormatterScope formatterScope = new(enable: true);
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (11)
104using BinaryFormatterScope scope = new(enable: true); 141using BinaryFormatterScope scope = new(enable: true); 227using BinaryFormatterScope scope = new(enable: true); 239using BinaryFormatterScope scope = new(enable: true); 277using BinaryFormatterScope scope = new(enable: true); 304using BinaryFormatterScope scope = new(enable: true); 328using BinaryFormatterScope scope = new(enable: true); 368using BinaryFormatterScope scope = new(enable: true); 380using BinaryFormatterScope scope = new(enable: true); 394using BinaryFormatterScope scope = new(enable: true); 423using BinaryFormatterScope scope = new(enable: true);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
107using BinaryFormatterScope formatterScope = new(enable: true);