Reviving support for instrumentation in CSharpCodeVisitor

Fixes #42
:-1: to your :-1: