zoukankan      html  css  js  c++  java
  • Identifier 'Logic.DomainObjectBase._isNew' is not CLS-compliant

    http://stackoverflow.com/questions/1195030/why-is-this-name-not-cls-compliant

    To get around this error you can either:

    1. Rename your property (recommended):

      protected bool isNew;
    2. Set your whole assembly to be non CLS compliant:

      [assembly:CLSCompliant(false)]
    3. Add an attribute just to your property:

      [CLSCompliant(false)]protected bool _isNew;
    4. Change the scope of the property, so that it can not be seen outside the assembly.

      private bool _isNew;
  • 相关阅读:
    sed
    UCOSIII(二)
    UCOSIII(一)
    IIC
    SPI
    vii
    find
    grep
    Scrum项目4.0
    Scrum项目3.0
  • 原文地址:https://www.cnblogs.com/RobotTech/p/3655804.html
Copyright © 2011-2022 走看看