Class CSharp


  • public class CSharp
    extends Object
    This class contains dummy methods which, if called, have no effect; but calls on these methods are detected by the Java-to-C# converter and affect the C# code that is generated.
    • Constructor Detail

      • CSharp

        public CSharp()
    • Method Detail

      • emitCode

        public static void emitCode​(String code)
        CSharp.emitCode("goto label") causes the converter to include the code "goto label" in the generated C# code. The argument must be supplied as a string literal. At run time, the method has no effect.
        Parameters:
        code - the C# code to be emitted.