[15c7d39] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 |
|
---|
| 4 | Syntax highlighting definition for C#
|
---|
| 5 |
|
---|
| 6 | xslthl - XSLT Syntax Highlighting
|
---|
| 7 | http://sourceforge.net/projects/xslthl/
|
---|
| 8 | Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
|
---|
| 9 |
|
---|
| 10 | This software is provided 'as-is', without any express or implied
|
---|
| 11 | warranty. In no event will the authors be held liable for any damages
|
---|
| 12 | arising from the use of this software.
|
---|
| 13 |
|
---|
| 14 | Permission is granted to anyone to use this software for any purpose,
|
---|
| 15 | including commercial applications, and to alter it and redistribute it
|
---|
| 16 | freely, subject to the following restrictions:
|
---|
| 17 |
|
---|
| 18 | 1. The origin of this software must not be misrepresented; you must not
|
---|
| 19 | claim that you wrote the original software. If you use this software
|
---|
| 20 | in a product, an acknowledgment in the product documentation would be
|
---|
| 21 | appreciated but is not required.
|
---|
| 22 | 2. Altered source versions must be plainly marked as such, and must not be
|
---|
| 23 | misrepresented as being the original software.
|
---|
| 24 | 3. This notice may not be removed or altered from any source distribution.
|
---|
| 25 |
|
---|
| 26 | Michal Molhanec <mol1111 at users.sourceforge.net>
|
---|
| 27 | Jirka Kosek <kosek at users.sourceforge.net>
|
---|
| 28 | Michiel Hendriks <elmuerte at users.sourceforge.net>
|
---|
| 29 |
|
---|
| 30 | -->
|
---|
| 31 | <highlighters>
|
---|
| 32 | <highlighter type="multiline-comment">
|
---|
| 33 | <start>/**</start>
|
---|
| 34 | <end>*/</end>
|
---|
| 35 | <style>doccomment</style>
|
---|
| 36 | </highlighter>
|
---|
| 37 | <highlighter type="oneline-comment">
|
---|
| 38 | <start>///</start>
|
---|
| 39 | <style>doccomment</style>
|
---|
| 40 | </highlighter>
|
---|
| 41 | <highlighter type="multiline-comment">
|
---|
| 42 | <start>/*</start>
|
---|
| 43 | <end>*/</end>
|
---|
| 44 | </highlighter>
|
---|
| 45 | <highlighter type="oneline-comment">//</highlighter>
|
---|
| 46 | <highlighter type="annotation">
|
---|
| 47 | <!-- annotations are called (custom) "attributes" in .NET -->
|
---|
| 48 | <start>[</start>
|
---|
| 49 | <end>]</end>
|
---|
| 50 | <valueStart>(</valueStart>
|
---|
| 51 | <valueEnd>)</valueEnd>
|
---|
| 52 | </highlighter>
|
---|
| 53 | <highlighter type="oneline-comment">
|
---|
| 54 | <!-- C# supports a couple of directives -->
|
---|
| 55 | <start>#</start>
|
---|
| 56 | <lineBreakEscape>\</lineBreakEscape>
|
---|
| 57 | <style>directive</style>
|
---|
| 58 | <solitary/>
|
---|
| 59 | </highlighter>
|
---|
| 60 | <highlighter type="string">
|
---|
| 61 | <!-- strings starting with an "@" can span multiple lines -->
|
---|
| 62 | <string>@"</string>
|
---|
| 63 | <endString>"</endString>
|
---|
| 64 | <escape>\</escape>
|
---|
| 65 | <spanNewLines />
|
---|
| 66 | </highlighter>
|
---|
| 67 | <highlighter type="string">
|
---|
| 68 | <string>"</string>
|
---|
| 69 | <escape>\</escape>
|
---|
| 70 | </highlighter>
|
---|
| 71 | <highlighter type="string">
|
---|
| 72 | <string>'</string>
|
---|
| 73 | <escape>\</escape>
|
---|
| 74 | </highlighter>
|
---|
| 75 | <highlighter type="hexnumber">
|
---|
| 76 | <prefix>0x</prefix>
|
---|
| 77 | <suffix>ul</suffix>
|
---|
| 78 | <suffix>lu</suffix>
|
---|
| 79 | <suffix>u</suffix>
|
---|
| 80 | <suffix>l</suffix>
|
---|
| 81 | <ignoreCase />
|
---|
| 82 | </highlighter>
|
---|
| 83 | <highlighter type="number">
|
---|
| 84 | <point>.</point>
|
---|
| 85 | <pointStarts />
|
---|
| 86 | <exponent>e</exponent>
|
---|
| 87 | <suffix>ul</suffix>
|
---|
| 88 | <suffix>lu</suffix>
|
---|
| 89 | <suffix>u</suffix>
|
---|
| 90 | <suffix>f</suffix>
|
---|
| 91 | <suffix>d</suffix>
|
---|
| 92 | <suffix>m</suffix>
|
---|
| 93 | <suffix>l</suffix>
|
---|
| 94 | <ignoreCase />
|
---|
| 95 | </highlighter>
|
---|
| 96 | <highlighter type="keywords">
|
---|
| 97 | <keyword>abstract</keyword>
|
---|
| 98 | <keyword>as</keyword>
|
---|
| 99 | <keyword>base</keyword>
|
---|
| 100 | <keyword>bool</keyword>
|
---|
| 101 | <keyword>break</keyword>
|
---|
| 102 | <keyword>byte</keyword>
|
---|
| 103 | <keyword>case</keyword>
|
---|
| 104 | <keyword>catch</keyword>
|
---|
| 105 | <keyword>char</keyword>
|
---|
| 106 | <keyword>checked</keyword>
|
---|
| 107 | <keyword>class</keyword>
|
---|
| 108 | <keyword>const</keyword>
|
---|
| 109 | <keyword>continue</keyword>
|
---|
| 110 | <keyword>decimal</keyword>
|
---|
| 111 | <keyword>default</keyword>
|
---|
| 112 | <keyword>delegate</keyword>
|
---|
| 113 | <keyword>do</keyword>
|
---|
| 114 | <keyword>double</keyword>
|
---|
| 115 | <keyword>else</keyword>
|
---|
| 116 | <keyword>enum</keyword>
|
---|
| 117 | <keyword>event</keyword>
|
---|
| 118 | <keyword>explicit</keyword>
|
---|
| 119 | <keyword>extern</keyword>
|
---|
| 120 | <keyword>false</keyword>
|
---|
| 121 | <keyword>finally</keyword>
|
---|
| 122 | <keyword>fixed</keyword>
|
---|
| 123 | <keyword>float</keyword>
|
---|
| 124 | <keyword>for</keyword>
|
---|
| 125 | <keyword>foreach</keyword>
|
---|
| 126 | <keyword>goto</keyword>
|
---|
| 127 | <keyword>if</keyword>
|
---|
| 128 | <keyword>implicit</keyword>
|
---|
| 129 | <keyword>in</keyword>
|
---|
| 130 | <keyword>int</keyword>
|
---|
| 131 | <keyword>interface</keyword>
|
---|
| 132 | <keyword>internal</keyword>
|
---|
| 133 | <keyword>is</keyword>
|
---|
| 134 | <keyword>lock</keyword>
|
---|
| 135 | <keyword>long</keyword>
|
---|
| 136 | <keyword>namespace</keyword>
|
---|
| 137 | <keyword>new</keyword>
|
---|
| 138 | <keyword>null</keyword>
|
---|
| 139 | <keyword>object</keyword>
|
---|
| 140 | <keyword>operator</keyword>
|
---|
| 141 | <keyword>out</keyword>
|
---|
| 142 | <keyword>override</keyword>
|
---|
| 143 | <keyword>params</keyword>
|
---|
| 144 | <keyword>private</keyword>
|
---|
| 145 | <keyword>protected</keyword>
|
---|
| 146 | <keyword>public</keyword>
|
---|
| 147 | <keyword>readonly</keyword>
|
---|
| 148 | <keyword>ref</keyword>
|
---|
| 149 | <keyword>return</keyword>
|
---|
| 150 | <keyword>sbyte</keyword>
|
---|
| 151 | <keyword>sealed</keyword>
|
---|
| 152 | <keyword>short</keyword>
|
---|
| 153 | <keyword>sizeof</keyword>
|
---|
| 154 | <keyword>stackalloc</keyword>
|
---|
| 155 | <keyword>static</keyword>
|
---|
| 156 | <keyword>string</keyword>
|
---|
| 157 | <keyword>struct</keyword>
|
---|
| 158 | <keyword>switch</keyword>
|
---|
| 159 | <keyword>this</keyword>
|
---|
| 160 | <keyword>throw</keyword>
|
---|
| 161 | <keyword>true</keyword>
|
---|
| 162 | <keyword>try</keyword>
|
---|
| 163 | <keyword>typeof</keyword>
|
---|
| 164 | <keyword>uint</keyword>
|
---|
| 165 | <keyword>ulong</keyword>
|
---|
| 166 | <keyword>unchecked</keyword>
|
---|
| 167 | <keyword>unsafe</keyword>
|
---|
| 168 | <keyword>ushort</keyword>
|
---|
| 169 | <keyword>using</keyword>
|
---|
| 170 | <keyword>virtual</keyword>
|
---|
| 171 | <keyword>void</keyword>
|
---|
| 172 | <keyword>volatile</keyword>
|
---|
| 173 | <keyword>while</keyword>
|
---|
| 174 | </highlighter>
|
---|
| 175 | <highlighter type="keywords">
|
---|
| 176 | <!-- special words, not really keywords -->
|
---|
| 177 | <keyword>add</keyword>
|
---|
| 178 | <keyword>alias</keyword>
|
---|
| 179 | <keyword>from</keyword>
|
---|
| 180 | <keyword>get</keyword>
|
---|
| 181 | <keyword>global</keyword>
|
---|
| 182 | <keyword>group</keyword>
|
---|
| 183 | <keyword>into</keyword>
|
---|
| 184 | <keyword>join</keyword>
|
---|
| 185 | <keyword>orderby</keyword>
|
---|
| 186 | <keyword>partial</keyword>
|
---|
| 187 | <keyword>remove</keyword>
|
---|
| 188 | <keyword>select</keyword>
|
---|
| 189 | <keyword>set</keyword>
|
---|
| 190 | <keyword>value</keyword>
|
---|
| 191 | <keyword>where</keyword>
|
---|
| 192 | <keyword>yield</keyword>
|
---|
| 193 | </highlighter>
|
---|
| 194 | </highlighters> |
---|