Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C# consts should be colored the preprocessor color

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
ShiningMasamune Posted - Apr 05 2010 : 12:58:01 PM
In C#, variables declared as "const" are compile-time constants whose values are substituted on compilation. They should therefore be colored the preprocessor color, but they're currently colored the variable color.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Apr 07 2010 : 04:14:07 AM
From this perspective you are right. Although, consts are "just" variables and const is "just" a modifier. So I would keep the behvior unchanged.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000