BCL mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.5000.0 2.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.Attribute System.AttributeUsage(System.AttributeTargets.All) System.Runtime.InteropServices.ComVisible(true)

Indicates whether the target of the current attribute complies with the Common Language Specification (CLS).

If no is associated with a given assembly, that assembly is assumed not to be CLS-compliant.

A type is assumed to be CLS-compliant if and only if its enclosing type (for nested types) or assembly (for top-level types) is CLS-compliant. Other members (methods, fields, properties and events) are CLS-compliant if and only if the type in which they are defined is CLS-compliant.

The CLS is a subset of CLI features that is supported by a broad set of compliant languages and tools. CLS-compliant languages and tools are guaranteed to interoperate with other CLS-compliant languages and tools.

Because the CLS defines the rules for language interoperability, its rules apply only to "externally visible" items. The CLS assumes that language interoperability is important only across the assembly boundary - that is, within a single assembly there are no restrictions as to the programming techniques that are used. Thus, the CLS rules apply only to items that are visible outside of their defining assembly and have public, family, or family-or-assembly accessibility.

For more information on CLS compliance, see Partition I of the CLI Specification.

This attribute can be applied to any valid attribute target. For a complete list of valid targets, see .

- Constructor
  if the target of the new instance complies with the CLS; otherwise, .

  Constructs and initializes a new instance of the class.

  To be added.
  0
  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean

  Gets a indicating whether the target of the current instance is CLS-compliant.

  if the target of the current instance complies with the CLS; otherwise, .

  This property is read-only.

  0
  1.0.5000.0
  2.0.0.0
0