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)
132
service.
Serialize
(store, value1);
133
service.
Serialize
(store, value2);
231
service.
Serialize
(store, value);
331
service.
Serialize
(store, value);
522
service.
Serialize
(store, value);
573
service.
Serialize
(store, value);
624
service.
Serialize
(store, value);
664
service.
Serialize
(store, value);
718
service.
Serialize
(store, value);
729
service.
Serialize
(store, value);
753
service.
Serialize
(store, mockComponent.Object);
766
service.
Serialize
(store, mockComponent.Object);
800
service.
Serialize
(store, mockComponent.Object);
814
service.
Serialize
(store, mockComponent.Object);
859
service.
Serialize
(store, mockComponent.Object);
873
service.
Serialize
(store, mockComponent.Object);
890
Assert.Throws<ArgumentNullException>("store", () => service.
Serialize
(null, new object()));
898
Assert.Throws<ArgumentNullException>("value", () => service.
Serialize
(mockStore.Object, null));
906
Assert.Throws<InvalidOperationException>(() => service.
Serialize
(mockStore.Object, new object()));
915
Assert.Throws<InvalidOperationException>(() => service.
Serialize
(store, new object()));