Update .Net interface to use the new grammar error API