T O P I C R E V I E W |
rhinology |
Posted - Jul 09 2009 : 2:46:56 PM In C#, when a symbol is defined in enum, it should only be shown as enum in its scope. Outside the enum scope, same symbol means different things. For example: 1 using System; 2 enum MyEnum { System }; 3 MyEnum myValue = MyEnum.System; "System" on line 1 should be shown using color for namespace, while System on line 2 and line 3 should be shown as enum value.
Currently VA will show System on line 1 as enum value (using Preprocessor macros color).
Note: C/C++ has a different rule, so VA should treat C/C++ and C# differently. |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jul 11 2009 : 2:33:09 PM Currently this is a known limitation, and to a degree it is by design:
case=1220
See the "Coloring by Usage" section here:
http://www.wholetomato.com/products/features/color.asp |
|
|