7 references to ValidatePropertyType
System.Windows.Forms.Design (6)
System\Drawing\Design\ToolboxItem.cs (6)
767ValidatePropertyType(propertyName, value, typeof(AssemblyName), true); 772ValidatePropertyType(propertyName, value, typeof(Bitmap), true); 779ValidatePropertyType(propertyName, value, typeof(string), true); 783ValidatePropertyType(propertyName, value, typeof(ICollection), true); 789ValidatePropertyType(propertyName, value, typeof(AssemblyName[]), true); 793ValidatePropertyType(propertyName, value, typeof(bool), false);
System.Windows.Forms.Design.Tests (1)
System\Drawing\Design\ToolboxItemTests.cs (1)
1678base.ValidatePropertyType(propertyName, value, expectedType, allowNull);