http://stackoverflow.com/questions/1195030/why-is-this-name-not-cls-compliant
To get around this error you can either:
-
Rename your property (recommended):
protected bool isNew;
-
Set your whole assembly to be non CLS compliant:
[assembly:CLSCompliant(false)]
-
Add an attribute just to your property:
[CLSCompliant(false)]protected bool _isNew;
-
Change the scope of the property, so that it can not be seen outside the assembly.
private bool _isNew;