Reviving support for instrumentation in CSharpCodeVisitor

Fixes #42
Makes it particularly hard to not run Format document before I send a PR and then undo these changes.