Reviving support for instrumentation in CSharpCodeVisitor

Fixes #42