Godot does not compile C# code to C++ when exporting. It’s compiled into a C# assembly DLL instead.
By default, GDScript is compiled to bytecode when exported. This doesn’t improve run-time performance; it only speeds up loading slightly. You can change the script export mode in the Export dialog.