"Edward Diener" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Does anyone know the correct naming conventions for CLS compliant code ?
> The doc points to a really obscure and difficult to digest document on
> the web about Unicode names, and I am looking for simpler rules that
> tell me what names are CLS compliant. Here are some simple questions:
>
According to msdn,
CLS-compliant language compilers must follow the rules of Annex 7 of
Technical Report 15 of the Unicode Standard 3.0, which governs the set of
characters that can start and be included in identifiers. This standard is
available at
http://www.unicode.org/unicode/repor...5/tr15-18.html.
For two identifiers to be considered distinct, they must differ by more than
just their case.
from Unicode Standard 3.0 Technical Report 15, Annex 7:
That is, the first character of an identifier can be an uppercase letter,
lowercase letter, titlecase letter, modifier letter, other letter, or letter
number. The subsequent characters of an identifier can be any of those, plus
non-spacing marks, spacing combining marks, decimal numbers, connector
punctuations, and formatting codes (such as right-left-mark). Normally the
formatting codes should be filtered out before storing or comparing
identifiers.
> 1) Can a CLS compliant name start with an underscore ?
From my reading of the above quotes, no.
> 2) Is there a limit to the length of a CLS complaint name ? With a full
> namespace name ?
Let me dig into the ecma spec to see if anything exists, I can post back
about that later.
>
>