Fixed 'Bug 24096 - At compiler error token, any NRefactory based
operations disappear'.