CLSCompliantAttribute

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Platform topic
Feel free to add your notes to this topic below.



This attribute is used to define whether a type or member is compliant with the Common Language Specification (CLS). When applied to a type, a member or assembly, the compiler will check if a public member is compliant with the CLS.

When this attribute is left out, an assembly is not considered CLS-compliant. Types are compliant when the type they're nested in, or the assembly it's in, are not nested. Members of types are compliant if the type they're in is.

A member cannot be CLS-compliant if it exposes a public element that is not CLS-compliant, for a method this means all its parameters and its results are CLS-compliant. Unsigned types are not CLS-compliant.


See Also


Oxygene-48.png

Area: Oxygene Platforms

Platform GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox