icsharpcode/NRefactory — pull request #125 by erik-kallen (2012-10-09 22:41:20+00:00)
Title: Bug with comment just before try/catch/finally statement.

Bug in try/catch/finally statement.

The statement

{
/*Comment before*/
try {} catch { } finally { }
/*Comment after*/
}

is parsed as

{
try /*Comment before*/ { } catch { } finally { }
/*Comment after*/
}

I think this is because the location of the 'try' token is wrong. This used to work but has broken at some point since be113cf37b0f3db921b532d35ba17d290fe8a177