Visual studio gives keywords and other parts of the syntax colors based on their purpose, the following items are supported by X#:
Keywords
Identifiers
Comment s (single line, multi line etc)
Operators (+. -, := etc)
String s (also for Char constants)
Numbers (also for date and datetime literals)
Literals (NIL, Symbols, _AND, _OR, _NOT, _XOR)
Preprocessor keywords
* contents of Text .. EndText
Inactive/Hidden code inside #IFDEF
* Highlighted Word
* These are special XSharp colors. The other colors take the default Visual Studio editor colors for that category
You can change the options for this by going to Tools > Options >
Note that your settings will reset if you switch your color scheme in Visual Studio.