source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/highlighting/csharp-hl.xml@ 111bb20

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 111bb20 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4Syntax highlighting definition for C#
5
6xslthl - XSLT Syntax Highlighting
7http://sourceforge.net/projects/xslthl/
8Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
9
10This software is provided 'as-is', without any express or implied
11warranty. In no event will the authors be held liable for any damages
12arising from the use of this software.
13
14Permission is granted to anyone to use this software for any purpose,
15including commercial applications, and to alter it and redistribute it
16freely, subject to the following restrictions:
17
181. 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.
222. Altered source versions must be plainly marked as such, and must not be
23 misrepresented as being the original software.
243. This notice may not be removed or altered from any source distribution.
25
26Michal Molhanec <mol1111 at users.sourceforge.net>
27Jirka Kosek <kosek at users.sourceforge.net>
28Michiel 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>
Note: See TracBrowser for help on using the repository browser.