3 references to ValidatePropertyValue
System.Windows.Forms.Design.Tests (3)
System\Drawing\Design\ToolboxItemTests.cs (3)
1574Assert.Equal(expected, item.ValidatePropertyValue(propertyName, value)); 1582Assert.Throws<ArgumentNullException>("value", () => item.ValidatePropertyValue(propertyName, null)); 1598Assert.Throws<ArgumentException>("value", () => item.ValidatePropertyValue(propertyName, new object()));