Base:
method
SerializeMember
System.ComponentModel.Design.Serialization.ComponentSerializationService.SerializeMember(System.ComponentModel.Design.Serialization.SerializationStore, System.Object, System.ComponentModel.MemberDescriptor)
25 references to SerializeMember
System.Windows.Forms.Design.Tests (25)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (25)
429service.SerializeMember(store, value, member1); 430service.SerializeMember(store, value, member2); 431service.SerializeMember(store, value, member1); 432service.SerializeMember(store, value, member3); 521service.SerializeMember(store, value, member1); 522service.SerializeMember(store, value, member2); 569service.SerializeMember(store, value, member1); 570service.SerializeMember(store, value, member2); 1134service.SerializeMember(store, value, member1); 1145service.SerializeMember(store, value, member1); 1156service.SerializeMember(store, value, member2); 1182service.SerializeMember(store, mockComponent.Object, member1); 1195service.SerializeMember(store, mockComponent.Object, member1); 1208service.SerializeMember(store, mockComponent.Object, member2); 1244service.SerializeMember(store, mockComponent.Object, member1); 1258service.SerializeMember(store, mockComponent.Object, member1); 1272service.SerializeMember(store, mockComponent.Object, member2); 1319service.SerializeMember(store, mockComponent.Object, member1); 1333service.SerializeMember(store, mockComponent.Object, member1); 1346service.SerializeMember(store, mockComponent.Object, member2); 1364Assert.Throws<ArgumentNullException>("store", () => service.SerializeMember(null, new DataClass(), member)); 1373Assert.Throws<ArgumentNullException>("owningObject", () => service.SerializeMember(store, null, member)); 1381Assert.Throws<ArgumentNullException>("member", () => service.SerializeMember(store, new DataClass(), null)); 1390Assert.Throws<InvalidOperationException>(() => service.SerializeMember(mockStore.Object, new DataClass(), member)); 1400Assert.Throws<InvalidOperationException>(() => service.SerializeMember(store, new DataClass(), member));