diff --git a/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs b/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs index 0496d1e343..244ec88d28 100644 --- a/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs +++ b/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs @@ -2741,7 +2741,7 @@ namespace ICSharpCode.NRefactory.CSharp parent.AddChild((ICSharpCode.NRefactory.CSharp.Expression)arg.Expr.Accept(this), Roles.Expression); } - if (braceLocs != null) + if (braceLocs != null && braceLocs.Count > 1) parent.AddChild(new CSharpTokenNode(Convert(braceLocs[1])), Roles.RBrace); init.AddChild(parent, Roles.Expression); diff --git a/NRefactory.suo b/NRefactory.suo index 6e525719f4..c0b3b20b7e 100644 Binary files a/NRefactory.suo and b/NRefactory.suo differ diff --git a/_ReSharper.NRefactory/RecentItems/RecentFiles.dat b/_ReSharper.NRefactory/RecentItems/RecentFiles.dat index 51f0e17f4e..8c9b81336d 100644 --- a/_ReSharper.NRefactory/RecentItems/RecentFiles.dat +++ b/_ReSharper.NRefactory/RecentItems/RecentFiles.dat @@ -1,6 +1,8 @@  - + + + @@ -12,5 +14,24 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file