Base:
method
Serialize
System.ComponentModel.Design.Serialization.ComponentSerializationService.Serialize(System.ComponentModel.Design.Serialization.SerializationStore, System.Object)
20 references to Serialize
System.Windows.Forms.Design.Tests (20)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (20)
130
service.
Serialize
(store, value1);
131
service.
Serialize
(store, value2);
229
service.
Serialize
(store, value);
329
service.
Serialize
(store, value);
520
service.
Serialize
(store, value);
571
service.
Serialize
(store, value);
622
service.
Serialize
(store, value);
662
service.
Serialize
(store, value);
716
service.
Serialize
(store, value);
727
service.
Serialize
(store, value);
751
service.
Serialize
(store, mockComponent.Object);
764
service.
Serialize
(store, mockComponent.Object);
798
service.
Serialize
(store, mockComponent.Object);
812
service.
Serialize
(store, mockComponent.Object);
857
service.
Serialize
(store, mockComponent.Object);
871
service.
Serialize
(store, mockComponent.Object);
888
Assert.Throws<ArgumentNullException>("store", () => service.
Serialize
(null, new object()));
896
Assert.Throws<ArgumentNullException>("value", () => service.
Serialize
(mockStore.Object, null));
904
Assert.Throws<InvalidOperationException>(() => service.
Serialize
(mockStore.Object, new object()));
913
Assert.Throws<InvalidOperationException>(() => service.
Serialize
(store, new object()));