Port Interface.tt.inc to Roslyn codegen.