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