7 references to ValidatePropertyType
System.Windows.Forms.Design (6)
System\Drawing\Design\ToolboxItem.cs (6)
767
ValidatePropertyType
(propertyName, value, typeof(AssemblyName), true);
772
ValidatePropertyType
(propertyName, value, typeof(Bitmap), true);
779
ValidatePropertyType
(propertyName, value, typeof(string), true);
783
ValidatePropertyType
(propertyName, value, typeof(ICollection), true);
789
ValidatePropertyType
(propertyName, value, typeof(AssemblyName[]), true);
793
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);