27 references to NrbfDecoder
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)
3036if (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 (1)
System\Formats\Nrbf\PayloadOptions.cs (1)
35/// Setting this to <see langword="true" /> can render <see cref="NrbfDecoder"/> susceptible to Denial of Service
System.Private.Windows.Core (2)
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (2)
32return NrbfDecoder.Decode(stream, leaveOpen: true); 49return NrbfDecoder.Decode(stream, out recordMap, leaveOpen: true);
System.Resources.Extensions (1)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.cs (1)
48RootRecord = NrbfDecoder.Decode(stream, out var readonlyRecordMap, options: s_payloadOptions, leaveOpen: true);
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (2)
39Debug.WriteLine($"PropertyBagStream: {nameof(NrbfDecoder)} failed with {ex.Message}"); 114Debug.WriteLine($"PropertyBagStream.Save: {nameof(NrbfDecoder)} failed with {ex.Message}");
System\Windows\Forms\OLE\JsonData.cs (1)
18/// and replicate this type. Then, manually retrieve the serialized stream and use the <see cref="Formats.Nrbf.NrbfDecoder"/> to decode the stream and rehydrate the serialized type.
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);