Implemented interface member:
method
Deserialize
System.Runtime.Serialization.IFormatter.Deserialize(System.IO.Stream)
16 references to Deserialize
Microsoft.Private.Windows.Core (1)
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
233
}.
Deserialize
(stream);
PresentationFramework (1)
MS\Internal\DataStreams.cs (1)
268
newValue = this.Formatter.
Deserialize
(dataStream); // CodeQL [SM04191] : This is a fallback deserialization to maintain backward compatibility for unsupported NRBF Data Types
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
144
object obj = formatter.
Deserialize
(wrappedStream);
System.Configuration.ConfigurationManager (2)
System\Configuration\SettingsPropertyValue.cs (2)
99
value = (new BinaryFormatter()).
Deserialize
(ms);
195
return (new BinaryFormatter()).
Deserialize
(ms);
System.Data.Common (1)
System\Data\DataSet.cs (1)
445
DataTable dt = (DataTable)bf.
Deserialize
(memStream);
System.Private.Windows.Core (1)
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
233
}.
Deserialize
(stream);
System.Private.Windows.Core.TestUtilities (1)
BinarySerialization.cs (1)
158
return formatter.
Deserialize
(stream); // CodeQL[SM03722] : Testing legacy feature. This is a safe use of BinaryFormatter because the data is trusted and the types are controlled and validated.
System.Resources.Extensions (1)
System\Resources\Extensions\DeserializingResourceReader.cs (1)
53
return formatter.
Deserialize
(_store.BaseStream);
System.Windows.Forms (3)
System\Resources\ResXDataNode.cs (1)
453
object? result = _binaryFormatter.
Deserialize
(stream); // CodeQL[SM03722] : BinaryFormatter is intended to be used as a fallback for unsupported types. Users must explicitly opt into this behavior
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (1)
49
_bag = (Hashtable)new BinaryFormatter().
Deserialize
(stream); // CodeQL[SM03722, SM04191] : BinaryFormatter is intended to be used as a fallback for unsupported types. Users must explicitly opt into this behavior"
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1152
deserialized = new BinaryFormatter().
Deserialize
(stream); // CodeQL[SM03722, SM04191] : BinaryFormatter is intended to be used as a fallback for unsupported types. Users must explicitly opt into this behavior
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
233
Hashtable? resources = new BinaryFormatter().
Deserialize
(_resourceStream) as Hashtable; // CodeQL[SM03722, SM04191] : The operation is essential for the design experience when users are running their own designers they have created. This cannot be achieved without BinaryFormatter
System\Windows\Forms\Design\CommandSet.cs (1)
1865
object serializationData = new BinaryFormatter().
Deserialize
(s); // CodeQL[SM03722, SM04191] : The operation is essential for the design experience when users are running their own designers they have created. This cannot be achieved without BinaryFormatter
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (2)
144
return new BinaryFormatter().
Deserialize
(SerializationStream); // CodeQL[SM03722, SM04191] : The operation is essential for the design experience when users are running their own designers they have created. This cannot be achieved without BinaryFormatter
220
_serializationData ??= new BinaryFormatter().
Deserialize
(SerializationStream!); // CodeQL[SM03722, SM04191] : The operation is essential for the design experience when users are running their own designers they have created. This cannot be achieved without BinaryFormatter