Case sensitivity

Top  Previous  Next

What is translated > Tokens > Case sensitivity


Expressions which are different only by case are regarded as identical in Delphi. Therefore a preprocessor is executed before the real translation. The preprocessor replaces all later occurrences of expressions which are different from the first occurrence only by the notation by the notation found first. The preprocessor provides the conditional compilation of the code at the same time.


Unification of the notations isn't applied to the code areas, where CSHARP is defined.


If an identifier for the original name at a refactoring item isn't contained in the list of notations, it's notation will be used for all notations of the identifier in the generated code.


There are some fixed identifiers, which cannot be modified by the list of identifiers.




This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content