23 references to NrbfDecoder
BinaryFormatTests (10)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (2)
100SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 132SerializationRecord 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)
3065if (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)
262NrbfDecoder.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 (1)
System\Private\Windows\Core\Nrbf\SerializationRecordExtensions.cs (1)
31return NrbfDecoder.Decode(stream, 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 (2)
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.Primitives.TestUtilities (1)
System\Windows\Forms\BinaryFormat\BinaryFormatTestExtensions.cs (1)
19return NrbfDecoder.Decode(stream);
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
43SerializationRecord rootRecord = NrbfDecoder.Decode(stream); 104SerializationRecord rootRecord = NrbfDecoder.Decode(memoryStream);