7 instantiations of BinaryFormatterScope
PresentationCore.Tests (7)
BinaryFormat\BinaryFormatWriterTests.cs (2)
26using var formatterScope = new BinaryFormatterScope(enable: true); 42using BinaryFormatterScope formaterScope = new(enable: true);
BinaryFormat\DataObjectTests.cs (1)
30using BinaryFormatterScope formatterScope = new(enable: false);
BinaryFormat\HashTableTests.cs (1)
105using var formatterScope = new BinaryFormatterScope(enable: true);
BinaryFormat\ListTests.cs (1)
83using var formatterScope = new BinaryFormatterScope(enable: true);
BinaryFormat\PrimitiveTypeTests.cs (1)
99using BinaryFormatterScope formatterScope = new(enable: true);
TestUtilities\BinaryFormatTestExtensions.cs (1)
27using var formatterScope = new BinaryFormatterScope(enable: true);
10 references to BinaryFormatterScope
PresentationCore.Tests (10)
BinaryFormat\BinaryFormatWriterTests.cs (2)
26using var formatterScope = new BinaryFormatterScope(enable: true); 42using BinaryFormatterScope formaterScope = new(enable: true);
BinaryFormat\DataObjectTests.cs (1)
30using BinaryFormatterScope formatterScope = new(enable: false);
BinaryFormat\HashTableTests.cs (1)
105using var formatterScope = new BinaryFormatterScope(enable: true);
BinaryFormat\ListTests.cs (1)
83using var formatterScope = new BinaryFormatterScope(enable: true);
BinaryFormat\PrimitiveTypeTests.cs (1)
99using BinaryFormatterScope formatterScope = new(enable: true);
TestUtilities\AppContextSwitchScope.cs (1)
12/// See <see cref="BinaryFormatterScope"/> for an example of doing this.
TestUtilities\BinaryFormatterScope.cs (2)
20Monitor.Enter(typeof(BinaryFormatterScope)); 32Monitor.Exit(typeof(BinaryFormatterScope));
TestUtilities\BinaryFormatTestExtensions.cs (1)
27using var formatterScope = new BinaryFormatterScope(enable: true);