78 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 (7)
BinaryFormat\BinaryFormatWriterTests.cs (2)
24
using var formatterScope = new
BinaryFormatterScope
(enable: true);
40
using BinaryFormatterScope formaterScope =
new
(enable: true);
BinaryFormat\DataObjectTests.cs (1)
23
using BinaryFormatterScope formatterScope =
new
(enable: false);
BinaryFormat\HashTableTests.cs (1)
103
using var formatterScope = new
BinaryFormatterScope
(enable: true);
BinaryFormat\ListTests.cs (1)
79
using var formatterScope = new
BinaryFormatterScope
(enable: true);
BinaryFormat\PrimitiveTypeTests.cs (1)
94
using BinaryFormatterScope formatterScope =
new
(enable: true);
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)
461
using BinaryFormatterScope scope =
new
(enable: true);
482
using BinaryFormatterScope scope =
new
(enable: true);
544
using BinaryFormatterScope scope =
new
(enable: false);
720
using (BinaryFormatterScope scope =
new
(enable: true))
808
using BinaryFormatterScope scope =
new
(enable: true);
825
using BinaryFormatterScope scope =
new
(enable: true);
842
using BinaryFormatterScope scope =
new
(enable: true);
966
using BinaryFormatterScope scope2 =
new
(enable: true);
1329
using BinaryFormatterScope scope =
new
(enable: true);
1361
using (BinaryFormatterScope scope =
new
(enable: copy))
1371
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)
114
using BinaryFormatterScope scope =
new
(enable: true);
149
using BinaryFormatterScope scope =
new
(enable: true);
239
using BinaryFormatterScope scope =
new
(enable: true);
251
using BinaryFormatterScope scope =
new
(enable: true);
289
using BinaryFormatterScope scope =
new
(enable: true);
316
using BinaryFormatterScope scope =
new
(enable: true);
340
using BinaryFormatterScope scope =
new
(enable: true);
380
using BinaryFormatterScope scope =
new
(enable: true);
392
using BinaryFormatterScope scope =
new
(enable: true);
406
using BinaryFormatterScope scope =
new
(enable: true);
436
using BinaryFormatterScope scope =
new
(enable: true);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
109
using BinaryFormatterScope formatterScope =
new
(enable: true);