Reviving support for instrumentation in CSharpCodeVisitor

Fixes #42
nit: would have been easier to read this review w/o the unrelated formatting improvements