7 references to ValidatePropertyType
System.Windows.Forms.Design (6)
System\Drawing\Design\ToolboxItem.cs (6)
762
ValidatePropertyType
(propertyName, value, typeof(AssemblyName), true);
767
ValidatePropertyType
(propertyName, value, typeof(Bitmap), true);
774
ValidatePropertyType
(propertyName, value, typeof(string), true);
778
ValidatePropertyType
(propertyName, value, typeof(ICollection), true);
784
ValidatePropertyType
(propertyName, value, typeof(AssemblyName[]), true);
788
ValidatePropertyType
(propertyName, value, typeof(bool), false);
System.Windows.Forms.Design.Tests (1)
System\Drawing\Design\ToolboxItemTests.cs (1)
1678
base.
ValidatePropertyType
(propertyName, value, expectedType, allowNull);