Implemented interface member:
method
Serialize
System.Runtime.Serialization.IFormatter.Serialize(System.IO.Stream, System.Object)
35 references to Serialize
BinaryFormatTests (4)
FormatTests\Common\SerializationTest.cs (1)
26formatter.Serialize(stream, value);
SerializationRecordExtensionsTests.cs (3)
25formatter.Serialize(stream, value); 63formatter.Serialize(stream, value); 88formatter.Serialize(stream, "abc");
Microsoft.Build.Framework (1)
BinaryTranslator.cs (1)
1210formatter.Serialize(_packetStream, value);
MSBuildTaskHost (1)
BinaryTranslator.cs (1)
1210formatter.Serialize(_packetStream, value);
PresentationCore (1)
System\Windows\dataobject.cs (1)
1687formatter.Serialize(stream, data);
PresentationCore.Tests (2)
TestUtilities\BinaryFormatterScope.cs (1)
45formatter.Serialize(null!, null!);
TestUtilities\BinaryFormatTestExtensions.cs (1)
28formatter.Serialize(stream, source);
PresentationFramework (1)
MS\Internal\DataStreams.cs (1)
138this.Formatter.Serialize(byteStream, currentValue);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
59formatter.Serialize(o, new object[] { cryptoKey, context._savedLicenseKeys });
System.Configuration.ConfigurationManager (1)
System\Configuration\SettingsPropertyValue.cs (1)
235bf.Serialize(ms, _value);
System.Data.Common (1)
System\Data\DataSet.cs (1)
361bf.Serialize(memStream, Tables[i]);
System.Private.Windows.Core.TestUtilities (1)
BinarySerialization.cs (1)
113binaryFormatter.Serialize(stream, obj);
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (1)
118new BinaryFormatter().Serialize(stream, _bag);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1538new BinaryFormatter().Serialize(stream, sourceValue);
System\Windows\Forms\OLE\DataObject.Composition.BinaryFormatUtilities.cs (1)
63new BinaryFormatter().Serialize(stream, data);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
167new BinaryFormatter().Serialize(_resourceStream, _resources.Data);
System\Windows\Forms\Design\CommandSet.cs (2)
1411new BinaryFormatter().Serialize(stream, serializationData); 1456new BinaryFormatter().Serialize(stream, serializationData);
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
54new BinaryFormatter().Serialize(_serializationStream, sd);
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\ExceptionCollectionTests.cs (2)
54Assert.Throws<SerializationException>(() => formatter.Serialize(stream, collection)); 58Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, collection));
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (2)
693Assert.Throws<SerializationException>(() => formatter.Serialize(stream, store)); 697Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, store));
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (2)
97Assert.Throws<SerializationException>(() => formatter.Serialize(stream, exception)); 101Assert.Throws<NotSupportedException>(() => formatter.Serialize(stream, exception));
System.Windows.Forms.Primitives.TestUtilities (1)
System\Windows\Forms\BinaryFormat\BinaryFormatTestExtensions.cs (1)
32formatter.Serialize(stream, source);
System.Windows.Forms.Tests (7)
System\Windows\Forms\ImageListTests.cs (1)
445formatter.Serialize(stream, source);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1789formatter.Serialize(stream, settings); 1819formatter.Serialize(stream, settings); 1841formatter.Serialize(stream, settings);
System\Windows\Forms\ListViewGroupTests.cs (1)
1342formatter.Serialize(stream, group);
System\Windows\Forms\ListViewSubItemTests.cs (1)
584new BinaryFormatter().Serialize(stream, subItem);
System\Windows\Forms\OwnerDrawPropertyBagTests.cs (1)
118formatter.Serialize(stream, original);