Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-99

Mark assemblies with CLSCompliant attribute

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • DataAccess 1.5, DataAccess 1.6.0, DataAccess 1.6.1, DataAccess 1.7, DataMapper 1.1, DataMapper 1.2.0, DataMapper 1.2.1, DataMapper 1.3, DataMapper 3.0
    • DataAccess 1.7, DataMapper 1.3
    • DataAccess, DataMapper
    • None

    Description

      Assemblies should explicitly state their Cls compliance
      using the CLSCompliant attribute. An assembly without
      this attribute is not CLS-compliant. Assemblies, modules,
      and types can be CLS-compliant even if some parts of
      the assembly, module, or type are not CLS-compliant.
      The following rules apply: 1) If the element is marked
      CLSCompliant, any noncompliant members must have the
      CLSCompliant attribute present with its argument set
      to false. 2) A comparable CLS-compliant alternative
      member must be supplied for each member that is not
      CLS-compliant."

      See http://www.gotdotnet.com/team/fxcop/docs/rules.aspx?version=1.32&url=/Design/MarkAssembliesWithClsCompliant.html

      Attachments

        Activity

          People

            gilles Gilles Bayon
            roelof Roelof Blom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: