static void Main()
 {
     SomeWidget w = new SomeWidget();
     w.putBorderWidth(17);
     if ( w.getBorderWidth() != 17 )
       throw new Exception(String.Format("Border with should be 17, not {0}",
                                     w.getBorderWidth()));
 }
  static void Main() {
    SomeWidget w = new SomeWidget();
    w.put_borderWidth(17);
    if ( w.get_borderWidth() != 17 )
      throw new Exception(String.Format("Border with should be 17, not {0}",
                                        w.get_borderWidth()));

    if ( rename_pcre_encoder.StartINSAneAndUNSAvoryTraNSAtlanticRaNSAck() != 42 )
      throw new Exception("Unexpected result of renamed function call");
  }
Example #3
0
    static void Main()
    {
        SomeWidget w = new SomeWidget();

        w.putBorderWidth(17);
        if (w.getBorderWidth() != 17)
        {
            throw new Exception(String.Format("Border with should be 17, not {0}",
                                              w.getBorderWidth()));
        }
    }
    static void Main()
    {
        SomeWidget w = new SomeWidget();

        w.put_borderWidth(17);
        if (w.get_borderWidth() != 17)
        {
            throw new Exception(String.Format("Border with should be 17, not {0}",
                                              w.get_borderWidth()));
        }

        if (rename_pcre_encoder.StartINSAneAndUNSAvoryTraNSAtlanticRaNSAck() != 42)
        {
            throw new Exception("Unexpected result of renamed function call");
        }
    }