Hi All,
I'm trying to use NRefactory to parse some C# code to get the errors the user wrote and display them. But, some error messages that I get are on the wrong lines.
I've used the NRefactoryDemo sample to test the behavior that I'm intersted in, and it displays the correct error message but on the wrong line.
For example, if I delete the semi-colon char (";") at the end of the line "Console.Writeline("Hello, World!)" and I press the Parse C# Code button.
An error messge is displayed saying that on line 8 column 3 a semi-colon ";" is expected. But, this is the wrong line and column.
I've tried to debug the problem, but with no success. I get to the parser of Coco/R and their I can't continue.
Is this the right behavior of NRefactory?
I'm using SharpDevelop version 2.2.1.
Thanks,
Dan Mayer