Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C# consts should be colored the preprocessor color
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ShiningMasamune
New Member

USA
3 Posts

Posted - Apr 05 2010 :  12:58:01 PM  Show Profile  Reply with Quote
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.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 07 2010 :  04:14:07 AM  Show Profile  Reply with Quote
From this perspective you are right. Although, consts are "just" variables and const is "just" a modifier. So I would keep the behvior unchanged.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000