24 references to Decode
BinaryFormatTests (10)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (2)
103SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 135SerializationRecord rootRecord = NrbfDecoder.Decode(stream);
FormatTests\FormattedObject\HashTableTests.cs (3)
71SerializationRecord rootRecord = NrbfDecoder.Decode(Serialize(hashtable)); 129SerializationRecord rootRecord = NrbfDecoder.Decode(Serialize(hashtable)); 147SerializationRecord rootRecord = NrbfDecoder.Decode(stream);
FormatTests\FormattedObject\ListTests.cs (1)
83SerializationRecord rootRecord = NrbfDecoder.Decode(Serialize(list));
FormatTests\FormattedObject\PrimitiveTypeTests.cs (1)
112SerializationRecord rootRecord = NrbfDecoder.Decode(Serialize(value));
SerializationRecordExtensionsTests.cs (3)
28SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 66SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 91SerializationRecord rootRecord = NrbfDecoder.Decode(stream);
PresentationCore (1)
System\Windows\dataobject.cs (1)
3012if (NrbfDecoder.Decode(stream, leaveOpen: true).TryGetFrameworkObject(out object val))
PresentationCore.Tests (3)
BinaryFormat\BinaryFormatWriterTests.cs (1)
73SerializationRecord format = NrbfDecoder.Decode(stream);
BinaryFormat\HashTableTests.cs (1)
147SerializationRecord format = NrbfDecoder.Decode(stream);
TestUtilities\BinaryFormatTestExtensions.cs (1)
16public static SerializationRecord SerializeAndParse(this object source) => NrbfDecoder.Decode(source.Serialize());
PresentationFramework (1)
MS\Internal\DataStreams.cs (1)
255NrbfDecoder.Decode(dataStream, leaveOpen: true).TryGetFrameworkObject(out object val);
System.Formats.Nrbf (3)
System\Formats\Nrbf\NrbfDecoder.cs (3)
129/// <inheritdoc cref="Decode(Stream, PayloadOptions?, bool)"/> 156/// <inheritdoc cref="Decode(Stream, PayloadOptions?, bool)"/> 158=> (ClassRecord)Decode(payload, options, leaveOpen);
System.Private.Windows.Core (1)
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (1)
32return NrbfDecoder.Decode(stream, leaveOpen: true);
System.Windows.Forms.Primitives.TestUtilities (1)
System\Windows\Forms\BinaryFormat\BinaryFormatTestExtensions.cs (1)
19return NrbfDecoder.Decode(stream);
System.Windows.Forms.Tests (4)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (3)
46SerializationRecord binary = NrbfDecoder.Decode(stream); 134SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 195SerializationRecord rootRecord = NrbfDecoder.Decode(memoryStream);
System\Windows\Forms\ClipboardTests.cs (1)
1048SerializationRecord record = NrbfDecoder.Decode(stream);