[CSharp] Actually pass DebugType to compiler
[CSharp] Don't set DebugType unless necessary