Identifier 'Logic.DomainObjectBase._isNew' is not CLS-compliant
2014-04-10 10:05
441 查看
http://stackoverflow.com/questions/1195030/why-is-this-name-not-cls-compliant
To get around this error you can either:
Rename your property (recommended):
Set your whole assembly to be non CLS compliant:
Add an attribute just to your property:
Change the scope of the property, so that it can not be seen outside the assembly.
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;
相关文章推荐
- Constraint type 'System.IConvertible' is not CLS-compliant build warning
- [导入]出现 Argument type '******' is not CLS-compliant 的一种超简单情况
- Argument type 'myNamespace.myClass' is not CLS-compliant
- this class is not key value coding-compliant for the key xxxxx.
- this class is not key value coding-compliant for the key XXX错误的解决方法
- "this class is not key value coding-compliant for the key ..."问题的解决
- 建枚举类时出现“Project '**' is not a J2SE 5.0 compliant project.”问题怎么办?
- this class is not key value coding-compliant for the key xx
- swift-error-this class is not key value coding-compliant for the key sure.'
- his class is not key value coding-compliant for the key
- setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key delete.的问题
- setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
- setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
- 报错:this class is not key value coding-compliant for the key closeLotTextField解决方法
- xib自定义UIView报错误 "forUndefinedKey:]: this class is not key value coding-compliant for the key"
- this class is not key value coding-compliant for the key XXX错误的解决方法
- this class is not key value coding-compliant for the key digitPressed 解决办法
- 'NSUnknownKeyException', reason:....etValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
- 文件连接his class is not key value coding-compliant for the key文件连接
- setValue:forUndefinedKey this class is not key value coding-compliant for the key