System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (18)
117DataClass value1 = new()
124DataClass value2 = new()
223DataClass value = new()
323DataClass value = new()
375DataClass value = new()
423DataClass value = new()
469DataClass value = new()
514DataClass value = new()
563DataClass value = new()
616DataClass value = new()
1364Assert.Throws<ArgumentNullException>("store", () => service.SerializeMember(null, new DataClass(), 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));
1643Assert.Throws<ArgumentNullException>("store", () => service.SerializeMemberAbsolute(null, new DataClass(), member));
1660Assert.Throws<ArgumentNullException>("member", () => service.SerializeMemberAbsolute(store, new DataClass(), null));
1669Assert.Throws<InvalidOperationException>(() => service.SerializeMemberAbsolute(mockStore.Object, new DataClass(), member));
1679Assert.Throws<InvalidOperationException>(() => service.SerializeMemberAbsolute(store, new DataClass(), member));