72 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);
PresentationCore.Tests (1)
TestUtilities\BinaryFormatTestExtensions.cs (1)
24
using var formatterScope = new
BinaryFormatterScope
(enable: true);
System.Private.Windows.Core.Tests (10)
System\Private\Windows\Nrbf\CoreNrbfSerializerTests.cs (1)
44
using (BinaryFormatterScope scope =
new
(enable: true))
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (8)
357
using (BinaryFormatterScope scope =
new
(enable: true))
473
using BinaryFormatterScope scope =
new
(enable: dataType == DataType.BinaryFormat);
512
using BinaryFormatterScope scope =
new
(enable: dataType == DataType.BinaryFormat);
799
using BinaryFormatterScope scope =
new
(enable: true);
810
using BinaryFormatterScope scope =
new
(enable: dataType == DataType.BinaryFormat);
889
using BinaryFormatterScope scope =
new
(enable: true);
926
using BinaryFormatterScope scope =
new
(enable: true);
939
using BinaryFormatterScope scope =
new
(enable: true);
System\Private\Windows\Ole\ClipboardBinaryFormatterFullCompatScope.cs (1)
14
_binaryFormatterScope =
new
(enable: true);
System.Private.Windows.Core.TestUtilities (2)
BinarySerialization.cs (2)
128
using BinaryFormatterScope scope =
new
(enable: true);
154
using BinaryFormatterScope scope =
new
(enable: true);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ExceptionCollectionTests.cs (1)
50
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
690
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (1)
93
using BinaryFormatterScope formatterScope =
new
(enable: formatterEnabled);
System.Windows.Forms.Tests (53)
SerializableTypesTests.cs (9)
21
using BinaryFormatterScope formatterScope =
new
(enable: true);
74
using BinaryFormatterScope formatterScope =
new
(enable: true);
107
using BinaryFormatterScope formatterScope =
new
(enable: true);
127
using BinaryFormatterScope formatterScope =
new
(enable: true);
160
using BinaryFormatterScope formatterScope =
new
(enable: true);
207
using BinaryFormatterScope formatterScope =
new
(enable: true);
249
using BinaryFormatterScope formatterScope =
new
(enable: true);
269
using BinaryFormatterScope formatterScope =
new
(enable: true);
346
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Resources\ResxDataNodeTests.cs (1)
79
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Resources\ResXResourceReaderTests.cs (2)
17
using BinaryFormatterScope formatterScope =
new
(enable: true);
46
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (3)
17
using BinaryFormatterScope formatterScope =
new
(enable: true);
48
using BinaryFormatterScope formatterScope =
new
(enable: false);
67
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
77
using BinaryFormatterScope scope =
new
(enable: true);
161
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ClipboardTests.cs (11)
462
using BinaryFormatterScope scope =
new
(enable: true);
483
using BinaryFormatterScope scope =
new
(enable: true);
545
using BinaryFormatterScope scope =
new
(enable: false);
721
using (BinaryFormatterScope scope =
new
(enable: true))
809
using BinaryFormatterScope scope =
new
(enable: true);
826
using BinaryFormatterScope scope =
new
(enable: true);
843
using BinaryFormatterScope scope =
new
(enable: true);
967
using BinaryFormatterScope scope2 =
new
(enable: true);
1328
using (BinaryFormatterScope scope =
new
(enable: copy))
1338
using BinaryFormatterScope scope =
new
(enable: copy);
1400
using BinaryFormatterScope scope =
new
(enable: copy);
System\Windows\Forms\Control.ActiveXImplTests.cs (3)
16
using BinaryFormatterScope formatterScope =
new
(enable: false);
36
using BinaryFormatterScope formatterScope =
new
(enable: false);
54
using BinaryFormatterScope formatterScope =
new
(enable: false);
System\Windows\Forms\DataObjectTests.cs (1)
2909
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\ImageList.NativeImageListTests.cs (1)
15
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ImageListStreamerTests.cs (2)
15
using BinaryFormatterScope formatterScope =
new
(enable: true);
47
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ImageListTests.cs (1)
442
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1773
using BinaryFormatterScope formatterScope =
new
(enable: true);
1813
using BinaryFormatterScope formatterScope =
new
(enable: true);
1835
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ListViewGroupTests.cs (1)
1339
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\ListViewSubItemTests.cs (1)
581
using BinaryFormatterScope formatterScope =
new
(enable: true);
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (11)
105
using BinaryFormatterScope scope =
new
(enable: true);
140
using BinaryFormatterScope scope =
new
(enable: true);
230
using BinaryFormatterScope scope =
new
(enable: true);
242
using BinaryFormatterScope scope =
new
(enable: true);
280
using BinaryFormatterScope scope =
new
(enable: true);
307
using BinaryFormatterScope scope =
new
(enable: true);
331
using BinaryFormatterScope scope =
new
(enable: true);
371
using BinaryFormatterScope scope =
new
(enable: true);
383
using BinaryFormatterScope scope =
new
(enable: true);
397
using BinaryFormatterScope scope =
new
(enable: true);
427
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
109
using BinaryFormatterScope formatterScope =
new
(enable: true);