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)
429
service.
SerializeMember
(store, value, member1);
430
service.
SerializeMember
(store, value, member2);
431
service.
SerializeMember
(store, value, member1);
432
service.
SerializeMember
(store, value, member3);
521
service.
SerializeMember
(store, value, member1);
522
service.
SerializeMember
(store, value, member2);
569
service.
SerializeMember
(store, value, member1);
570
service.
SerializeMember
(store, value, member2);
1134
service.
SerializeMember
(store, value, member1);
1145
service.
SerializeMember
(store, value, member1);
1156
service.
SerializeMember
(store, value, member2);
1182
service.
SerializeMember
(store, mockComponent.Object, member1);
1195
service.
SerializeMember
(store, mockComponent.Object, member1);
1208
service.
SerializeMember
(store, mockComponent.Object, member2);
1244
service.
SerializeMember
(store, mockComponent.Object, member1);
1258
service.
SerializeMember
(store, mockComponent.Object, member1);
1272
service.
SerializeMember
(store, mockComponent.Object, member2);
1319
service.
SerializeMember
(store, mockComponent.Object, member1);
1333
service.
SerializeMember
(store, mockComponent.Object, member1);
1346
service.
SerializeMember
(store, mockComponent.Object, member2);
1364
Assert.Throws<ArgumentNullException>("store", () => service.
SerializeMember
(null, new DataClass(), member));
1373
Assert.Throws<ArgumentNullException>("owningObject", () => service.
SerializeMember
(store, null, member));
1381
Assert.Throws<ArgumentNullException>("member", () => service.
SerializeMember
(store, new DataClass(), null));
1390
Assert.Throws<InvalidOperationException>(() => service.
SerializeMember
(mockStore.Object, new DataClass(), member));
1400
Assert.Throws<InvalidOperationException>(() => service.
SerializeMember
(store, new DataClass(), member));