3 references to Serialize
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
807
typeDeclaration = _typeSerializer.
Serialize
(manager, LoaderHost.RootComponent, LoaderHost.Container.Components);
System.Windows.Forms.Design.Tests (2)
Serialization\TypeCodeDomSerializerTests.cs (2)
21
Assert.Throws<ArgumentNullException>(() => underTest.
Serialize
(null, null, null));
29
Assert.Throws<ArgumentNullException>(() => underTest.
Serialize
(mockSerializationManager.Object, null, null));