public void CannotCustomizePropertyWithNullType() { PropertyDescriptor property = Thing.GetField1Property(); ((IPropertyCustomization) property).SetType(null); }