public void ConstructorNullArg ()
		{
			// allowed.
			var ex = new XamlDuplicateMemberException ((XamlMember) null, (XamlType) null);
			Assert.IsNull (ex.DuplicateMember, "#1");
			Assert.IsNull (ex.ParentType, "#2");
		}
示例#2
0
        public void ConstructorNullArg()
        {
            // allowed.
            var ex = new XamlDuplicateMemberException((XamlMember)null, (XamlType)null);

            Assert.IsNull(ex.DuplicateMember, "#1");
            Assert.IsNull(ex.ParentType, "#2");
        }