Browse Source

* NRefactory.sln:

* CSharpCompletionEngine.cs: Fixed unit tests.
newNRvisualizers
Mike Krüger 15 years ago
parent
commit
bc4ca210fe
  1. 4
      ICSharpCode.NRefactory.CSharp/Completion/CSharpCompletionEngine.cs

4
ICSharpCode.NRefactory.CSharp/Completion/CSharpCompletionEngine.cs

@ -1568,9 +1568,9 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
expr = baseUnit.GetNodeAt<ArrayInitializerExpression> (location.Line, location.Column - 1); expr = baseUnit.GetNodeAt<ArrayInitializerExpression> (location.Line, location.Column - 1);
} }
// try statement // try statement
if (expr == null) { if (expr == null) {
expr = tmpUnit.GetNodeAt<Statement> (location.Line, location.Column - 1); expr = tmpUnit.GetNodeAt<SwitchStatement> (location.Line, location.Column - 1);
} }
if (expr == null) if (expr == null)

Loading…
Cancel
Save