Code Highlight on C# code parses incorrectly


Reported initially on CodePlex issue tracker by AlexanderMorou at http://codeplex.codeplex.com/WorkItem/View.aspx?WorkItemId=24428

Original description:

I just recently published my first commit to a new project on CodePlex. Part of it involves code generation and, as such, it contains a field named 'classes'. When the 'class' portion of the identifier is reached, everything after that is considered an identifier until the next opening brace ('{') is encountered.

region IntermediateProject data members.

/// <summary>
/// Data member for <see cref="Classes"/>.
/// </summary>
private IClassTypes classes;
// everything after this until the next '{' is colored as an Identifier.


jcouture100 wrote Aug 31, 2016 at 8:57 PM

Also, single line XML comments do not colorize the ending xml tag. It is colored green like a comment.

multi-line comments like this look fine...
/// <sumary>
/// this is a test
/// </summary>

single line comments like this do not properly colorize the closing tag...
/// <sumary>this is a test</summary>
/// <summary>This is a test</summary>
/// <param name="sender">passed in sender</param>
/// <param name="e">passed in event args</param>