public override void WriteSurrogateCharEntity(char lowChar, char highChar){ try { AutoComplete(Token.Content); xmlEncoder.WriteSurrogateCharEntity(lowChar, highChar); } catch { currentState = State.Error; throw; } }