25 references to BinaryFormatWriter
BinaryFormatTests (14)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (7)
24
BinaryFormatWriter
.WriteString(stream, testString);
41
bool success =
BinaryFormatWriter
.TryWriteFrameworkObject(stream, value);
75
bool success =
BinaryFormatWriter
.TryWriteDrawingPrimitivesObject(stream, value);
100
BinaryFormatWriter
.TryWriteFrameworkObject(stream, value).Should().BeTrue();
132
BinaryFormatWriter
.TryWriteDrawingPrimitivesObject(stream, value).Should().BeTrue();
156
BinaryFormatWriter
.TryWriteFrameworkObject(stream, value).Should().BeFalse();
164
BinaryFormatWriter
.TryWriteDrawingPrimitivesObject(stream, Brushes.AliceBlue).Should().BeFalse();
FormatTests\FormattedObject\HashTableTests.cs (4)
91
BinaryFormatWriter
.TryWriteHashtable(stream, hashtable).Should().BeFalse();
100
BinaryFormatWriter
.WritePrimitiveHashtable(stream, hashtable);
121
Action action = () =>
BinaryFormatWriter
.WritePrimitiveHashtable(stream, hashtable);
144
BinaryFormatWriter
.WritePrimitiveHashtable(stream, hashtable);
FormatTests\FormattedObject\ListTests.cs (2)
59
BinaryFormatWriter
.TryWritePrimitiveList(stream, list).Should().BeTrue();
75
BinaryFormatWriter
.TryWritePrimitiveList(stream, list).Should().BeFalse();
FormatTests\FormattedObject\PrimitiveTypeTests.cs (1)
96
BinaryFormatWriter
.WritePrimitive(stream, value);
PresentationFramework (1)
MS\Internal\DataStreams.cs (1)
126
success =
BinaryFormatWriter
.TryWriteFrameworkObject(byteStream, currentValue);
System.Private.Windows.Core (3)
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (3)
20
BinaryFormatWriter
.TryWriteFrameworkObject(stream, value)
21
||
BinaryFormatWriter
.TryWriteJsonData(stream, value)
22
||
BinaryFormatWriter
.TryWriteDrawingPrimitivesObject(stream, value);
System.Private.Windows.Core.Tests (2)
System\Private\Windows\Ole\BinaryFormatUtilitesTestsBase.cs (1)
23
BinaryFormatWriter
.TryWriteJsonData(stream, IJsonData.Create(data));
System\Private\Windows\Ole\NativeToManagedAdapterTests.cs (1)
102
BinaryFormatWriter
.TryWriteJsonData(stream, new JsonData<int[]>() { JsonBytes = JsonSerializer.SerializeToUtf8Bytes(new int[] { 0xBE, 0xAD }) });
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (1)
110
BinaryFormatWriter
.WritePrimitiveHashtable(stream, _bag);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (1)
83
BinaryFormatWriter
.WritePrimitiveHashtable(stream, _bag);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (1)
58
return
BinaryFormatWriter
.TryWrite(Write, stream, value);
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
49
BinaryFormatWriter
.TryWriteJsonData(stream, json);
74
BinaryFormatWriter
.TryWriteJsonData(stream, data);