anuragsoni2000 / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Use of multiple c# generic blocks does not work as expected #149

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. If the same c# generics type is used twice like so:
var factory = new ChannelFactory<IHelloWorldService>("myEndPoint");

public class HelloWorldClient : ClientBase<IHelloWorldService>,
IHelloWorldService
{
   public string HelloWorld()
   {
      return Channel.HelloWorld();
   }
}

2. The first <IHelloWorldService> is interpreted as begin XML tag and the
second as a closing tag.
3.

What is the expected output? What do you see instead?
The highlighligter appends the second <IHelloWorldService> with a / like
</IHelloWorldService>

What version of the product are you using? On what operating system?
version 2.0.296 (March 01 2009)

Please provide any additional information below.

Original issue reported on code.google.com by lybec...@gmail.com on 8 Mar 2009 at 4:19