<?xml version="1.0"?>

<!-- syntaxdefinition for C# 2000 by Mike Krueger -->

<SyntaxDefinition name = "C64C#" extensions = ".???">

	<Environment> 
		<Default      color = "#97A0EF" bgcolor = "#3F3FDF"/>
		<Selection    bgcolor = "Black"/>
		<VRuler       color = "LightGreen"/>
		<InvalidLines color = "Red"/>
		<CaretMarker  color = "DarkBlue"/>
		
		<LineNumbers  color = "#97A0EF" bgcolor = "#3F3FDF"/>
		
		<FoldLine     color = "#97A0EF"/>
		<FoldMarker   color = "#97A0EF" bgcolor="#3F3FDF"/>
		<SelectedFoldLine color = "Black" bgcolor="Black"/>

		<EOLMarkers   color = "LightBlue"/>
		<SpaceMarkers color = "LightBlue"/>
		<TabMarkers   color = "LightBlue"/>
	</Environment>
	
	<Properties>
		<Property name="LineComment" value="//"/>
	</Properties>
	
	<Digits   name = "Digits" bold = "false" italic = "false" color = "DarkBlue"/>
	
    <RuleSets>
		<RuleSet ignorecase = "false">
	  	<Delimiters>~!%^*()-+=|\#/{}[]:;"'&lt;&amp;&gt; , .?</Delimiters>
		  <Span name = "PreprocessorDirectives" bold="false" italic="false" color="LightGreen" stopateol = "true">
		  	<Begin>#</Begin>
		  </Span>
		  
		  <Span name = "LINECOMMENT" rule = "DocumentSet" bold = "false" italic = "false" color = "LightGray" stopateol = "true">
			   <Begin>///</Begin>
		  </Span>
		  
		  <Span name = "LINECOMMENT" rule = "TestSet" bold = "false" italic = "false" color = "LightGray" stopateol = "true">
			   <Begin>//@!/@</Begin>
		  </Span>
		  
			<Span name = "BLOCKCOMMENT" rule = "TestSet" bold = "false" italic = "false" color = "LightGray" stopateol = "false">
				<Begin>/*</Begin>
				<End>*/</End>
			</Span>
		  	
			<Span name = "STRING" bold = "false" italic = "false" color = "Magenta" stopateol = "true">
				<Begin>"</Begin>
				<End>"</End>
			</Span>
			
			<Span name = "MORELINEDSTRING" bold = "false" italic = "false" color = "Magenta" stopateol = "false" noescapesequences="true">
				<Begin>@@"</Begin>
				<End>"</End>
			</Span>
			
			<Span name = "CHAR" bold = "false" italic = "false" color = "Magenta" stopateol = "true">
				<Begin>'</Begin>
				<End>'</End>
			</Span>
			
			<MarkPrevious bold = "true" italic = "false" color = "Yellow">(</MarkPrevious>
			
			<KeyWords name = "Punctuation" bold = "false" italic = "false" color = "LightCyan">
		    	<Key word = ";" />
		    	<Key word = "?" />
		    	<Key word = "," />
		    	<Key word = "." />
		    	<Key word = "(" />
		    	<Key word = ")" />
		    	<Key word = "[" />
		    	<Key word = "]" />
			    <Key word = "{" />
			    <Key word = "}" />
			    <Key word = "+" />
			    <Key word = "-" />
			    <Key word = "/" />
			    <Key word = "%" />
			    <Key word = "*" />
			    <Key word = "&lt;" />
			    <Key word = "&gt;" />
			    <Key word = "^" />
			    <Key word = "!" />
			    <Key word = "|" />
			    <Key word = "&amp;" />
		  	</KeyWords>
		  
			<KeyWords name = "AccessKeywords" bold="true" italic="false" color="Black">
				<Key word = "this" />
				<Key word = "base" />
			</KeyWords>
			
			<KeyWords name = "OperatorKeywords" bold="true" italic="false" color="White">
				<Key word = "as" />
				<Key word = "is" />
				<Key word = "new" />
				<Key word = "sizeof" />
				<Key word = "typeof" />
				<Key word = "true" />
				<Key word = "false" />
				<Key word = "stackalloc" />
			</KeyWords>
		  
		
			<KeyWords name = "SelectionStatements" bold="true" italic="false" color="White">
				<Key word = "else" />
				<Key word = "if" />
				<Key word = "switch" />
				<Key word = "case" />
			</KeyWords>
		
			<KeyWords name = "IterationStatements" bold="true" italic="false" color="White">
				<Key word = "do" />
				<Key word = "for" />
				<Key word = "foreach" />
				<Key word = "in" />
				<Key word = "while" />
			</KeyWords>
		
			<KeyWords name = "JumpStatements" bold="false" italic="false" color="White">
				<Key word = "break" />
				<Key word = "continue" />
				<Key word = "default" />
				<Key word = "goto" />
				<Key word = "return" />
			</KeyWords>
		  
			<KeyWords name = "ExceptionHandlingStatements" bold="true" italic="false" color="White">
				<Key word = "try" />
				<Key word = "throw" />
				<Key word = "catch" />
				<Key word = "finally" />
			</KeyWords>
		  
			<KeyWords name = "CheckedUncheckedStatements" bold="true" italic="false" color="White">
				<Key word = "checked" />
				<Key word = "unchecked" />
			</KeyWords>
		
			<KeyWords name = "UnsafeFixedStatements" bold="false" italic="false" color="White">
				<Key word = "fixed" />
				<Key word = "unsafe" />
			</KeyWords>
		  
			<KeyWords name = "PreprocessorDirectives" bold="false" italic="false" color="Green">
				<Key word = "#if" />
				<Key word = "#else" />
			    <Key word = "#elif" />
			    <Key word = "#endif" />
			    <Key word = "#define" />
			    <Key word = "#undef" />
			    <Key word = "#warning" />
			    <Key word = "#error" />
			    <Key word = "#line" />
			    <Key word = "#region" />
			    <Key word = "#endregion" />
		  	</KeyWords>
		  
			<KeyWords name = "ValueTypes" bold="true" italic="false" color="White">
			    <Key word = "bool" />
			    <Key word = "byte" />
			    <Key word = "char" />
			    <Key word = "decimal" />
			    <Key word = "double" />
			    <Key word = "enum" />
			    <Key word = "float" />
			    <Key word = "int" />
			    <Key word = "long" />
			    <Key word = "sbyte" />
			    <Key word = "short" />
			    <Key word = "struct" />
		    	<Key word = "uint" />
			    <Key word = "ushort" />
			    <Key word = "ulong" />
		  	</KeyWords>
		  
		  	<KeyWords name = "ReferenceTypes" bold="false" italic="false" color="White">
			    <Key word = "class" />
			    <Key word = "interface" />
			    <Key word = "delegate" />
			    <Key word = "object" />
			    <Key word = "string" />
		  	</KeyWords>
		  
		  	<KeyWords name = "Void" bold="false" italic="false" color="White">
			    <Key word = "void" />
		  	</KeyWords>
		  
		  	<KeyWords name = "ConversionKeyWords" bold="true" italic="false" color="White">
			    <Key word = "explicit" />
			    <Key word = "implicit" />
			    <Key word = "operator" />
		  	</KeyWords>
		  
			<KeyWords name = "MethodParameters" bold="true" italic="false" color="White">
			    <Key word = "params" />
			    <Key word = "ref" />
			    <Key word = "out" />
		  	</KeyWords>
		  
		  	<KeyWords name = "Modifiers" bold="false" italic="false" color="White">
			    <Key word = "abstract" />
			    <Key word = "const" />
			    <Key word = "event" />
			    <Key word = "extern" />
			    <Key word = "override" />
			    <Key word = "readonly" />
			    <Key word = "sealed" />
			    <Key word = "static" />
			    <Key word = "virtual" />
		  	</KeyWords>
		  
		  	<KeyWords name = "AccessModifiers" bold="true" italic="false" color="White">
			    <Key word = "public" />
				<Key word = "protected" />
		    	<Key word = "private" />
		    	<Key word = "internal" />
		  	</KeyWords>
		  
			<KeyWords name = "NameSpaces" bold="true" italic="false" color="White">
			    <Key word = "namespace" />
			    <Key word = "using" />
			</KeyWords>
		  
			<KeyWords name = "LockKeyWord" bold="false" italic="false" color="White">
			    <Key word = "lock" />
		  	</KeyWords>
		  
			<KeyWords name = "GetSet" bold="false" italic="false" color="White">
			    <Key word = "get" />
			    <Key word = "set" />
			    <Key word = "add" />
			    <Key word = "remove" />
			</KeyWords>
		  
			<KeyWords name = "Literals" bold="true" italic="false" color="White">
			    <Key word = "null" />
			    <Key word = "value" />
			</KeyWords>
		</RuleSet>
		
		<RuleSet name = "TestSet" ignorecase = "true">
		     <Delimiters>~!@%^*()-+=|\#/{}[]:;"'&lt;&gt; , .?</Delimiters>
			<KeyWords name = "ErrorWords" bold="true" italic="true" color="Red">
				    <Key word = "TODO" />
				    <Key word = "FIXME" />
			</KeyWords>
			<KeyWords name = "WarningWords" bold="true" italic="true" color="Yellow">
				    <Key word = "HACK" />
				    <Key word = "UNDONE" />
			</KeyWords>
	 	 	
		</RuleSet>
		
		<RuleSet name = "DocumentSet" ignorecase = "false">
		  	<Delimiters>~!@%^*()-+=|\#/{}[]:;"'&lt;&gt; , .?</Delimiters>
			
			<Span name = "XMLTAG" rule = "XMLDocuSet" bold = "false" italic = "true" color = "Gray" stopateol = "true">
				<Begin>&lt;</Begin>
				<End>&gt;</End>
			</Span>
			
			<KeyWords name = "Testword" bold="true" italic="true" color="Red">
				    <Key word = "TODO" />
			</KeyWords>
		</RuleSet>
		
		<RuleSet name = "XMLDocuSet" ignorecase = "false">
		  	<Delimiters>~!@%^*()-+=|\#/{}[]:;"'&lt;&gt; , .?</Delimiters>
	  	    
			<Span name = "STRING" bold = "true" italic = "true" color = "Silver" stopateol = "true">
				<Begin>"</Begin>
				<End>"</End>
			</Span>
	  	   
			
			<KeyWords name = "Punctuation" bold = "true" italic = "true" color = "Gray">
		    	<Key word = "/" />
		    	<Key word = "|" />
		    	<Key word = "=" />
		  	</KeyWords>
		  	
		 	<KeyWords name = "SpecialComment" bold="true" italic="true" color="Gray">
				    <Key word = "c" />
				    <Key word = "code" />
				    <Key word = "example" />
				    <Key word = "list" />
				    <Key word = "para" />
				    <Key word = "param" />
				    <Key word = "paramref" />
				    <Key word = "permission" />
				    <Key word = "remarks" />
				    <Key word = "returns" />
				    <Key word = "see" />
				    <Key word = "seealso" />
				    <Key word = "summary" />
				    <Key word = "value" />
				    <Key word = "type" />
				    <Key word = "name" />
				    <Key word = "cref" />
				    <Key word = "item" />
				    <Key word = "term" />
				    <Key word = "description" />
				    <Key word = "listheader" />
	 	 	</KeyWords>
		</RuleSet>
	</RuleSets>

</SyntaxDefinition>
