Improve diagnostic - error/warning info back to C#.