68 references to new
ComDisabled.Tests (2)
ClipboardComTests.cs (2)
32
using BinaryFormatterScope scope =
new
(enable: false);
46
using BinaryFormatterScope scope =
new
(enable: false);
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
130
using BinaryFormatterScope scope =
new
(enable: true);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ExceptionCollectionTests.cs (1)
48
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
688
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (1)
91
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System.Windows.Forms.Primitives.TestUtilities (1)
System\Windows\Forms\BinaryFormat\BinaryFormatTestExtensions.cs (1)
28
using BinaryFormatterScope formatterScope =
new
(enable: true);
System.Windows.Forms.Tests (61)
SerializableTypesTests.cs (9)
19
using BinaryFormatterScope formatterScope =
new
(enable: true);
72
using BinaryFormatterScope formatterScope =
new
(enable: true);
105
using BinaryFormatterScope formatterScope =
new
(enable: true);
125
using BinaryFormatterScope formatterScope =
new
(enable: true);
158
using BinaryFormatterScope formatterScope =
new
(enable: true);
205
using BinaryFormatterScope formatterScope =
new
(enable: true);
247
using BinaryFormatterScope formatterScope =
new
(enable: true);
267
using BinaryFormatterScope formatterScope =
new
(enable: true);
344
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Resources\ResxDataNodeTests.cs (1)
81
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Resources\ResXResourceReaderTests.cs (2)
15
using BinaryFormatterScope formatterScope =
new
(enable: true);
44
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (3)
15
using BinaryFormatterScope formatterScope =
new
(enable: true);
46
using BinaryFormatterScope formatterScope =
new
(enable: false);
65
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
79
using BinaryFormatterScope scope =
new
(enable: true);
163
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\BinaryFormatUtilitiesTests.BinaryFormatterFullCompatScope.cs (1)
14
_binaryFormatterScope =
new
(enable: true);
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (6)
413
using (BinaryFormatterScope scope =
new
(enable: true))
810
using BinaryFormatterScope scope =
new
(enable: true);
841
using BinaryFormatterScope scope =
new
(enable: true);
877
using BinaryFormatterScope scope =
new
(enable: true);
914
using BinaryFormatterScope scope =
new
(enable: true);
927
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\ClipboardTests.cs (12)
459
using BinaryFormatterScope scope =
new
(enable: true);
480
using BinaryFormatterScope scope =
new
(enable: true);
542
using BinaryFormatterScope scope =
new
(enable: false);
718
using (BinaryFormatterScope scope =
new
(enable: true))
806
using BinaryFormatterScope scope =
new
(enable: true);
823
using BinaryFormatterScope scope =
new
(enable: true);
840
using BinaryFormatterScope scope =
new
(enable: true);
921
using (BinaryFormatterScope scope2 =
new
(enable: true))
967
using BinaryFormatterScope scope2 =
new
(enable: true);
1337
using BinaryFormatterScope scope =
new
(enable: true);
1360
using (BinaryFormatterScope scope =
new
(enable: copy))
1370
using BinaryFormatterScope scope =
new
(enable: copy);
System\Windows\Forms\Control.ActiveXImplTests.cs (3)
18
using BinaryFormatterScope formatterScope =
new
(enable: false);
38
using BinaryFormatterScope formatterScope =
new
(enable: false);
56
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\DataObjectTests.cs (1)
2910
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\ImageList.NativeImageListTests.cs (1)
13
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ImageListStreamerTests.cs (2)
13
using BinaryFormatterScope formatterScope =
new
(enable: true);
45
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ImageListTests.cs (1)
440
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1771
using BinaryFormatterScope formatterScope =
new
(enable: true);
1811
using BinaryFormatterScope formatterScope =
new
(enable: true);
1833
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ListViewGroupTests.cs (1)
1337
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ListViewSubItemTests.cs (1)
579
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (11)
108
using BinaryFormatterScope scope =
new
(enable: true);
145
using BinaryFormatterScope scope =
new
(enable: true);
236
using BinaryFormatterScope scope =
new
(enable: true);
248
using BinaryFormatterScope scope =
new
(enable: true);
286
using BinaryFormatterScope scope =
new
(enable: true);
313
using BinaryFormatterScope scope =
new
(enable: true);
337
using BinaryFormatterScope scope =
new
(enable: true);
377
using BinaryFormatterScope scope =
new
(enable: true);
389
using BinaryFormatterScope scope =
new
(enable: true);
403
using BinaryFormatterScope scope =
new
(enable: true);
433
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
107
using BinaryFormatterScope formatterScope =
new
(enable: true);