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)
130service.Serialize(store, value1); 131service.Serialize(store, value2); 229service.Serialize(store, value); 329service.Serialize(store, value); 520service.Serialize(store, value); 571service.Serialize(store, value); 622service.Serialize(store, value); 662service.Serialize(store, value); 716service.Serialize(store, value); 727service.Serialize(store, value); 751service.Serialize(store, mockComponent.Object); 764service.Serialize(store, mockComponent.Object); 798service.Serialize(store, mockComponent.Object); 812service.Serialize(store, mockComponent.Object); 857service.Serialize(store, mockComponent.Object); 871service.Serialize(store, mockComponent.Object); 888Assert.Throws<ArgumentNullException>("store", () => service.Serialize(null, new object())); 896Assert.Throws<ArgumentNullException>("value", () => service.Serialize(mockStore.Object, null)); 904Assert.Throws<InvalidOperationException>(() => service.Serialize(mockStore.Object, new object())); 913Assert.Throws<InvalidOperationException>(() => service.Serialize(store, new object()));