6 <script type='text/javascript'
>
9 this.int_add
= Module
.mono_bind_static_method ("[debugger-test] Math:IntAdd");
10 console
.log ("ready");
13 function invoke_add () {
14 return App
.int_add (10, 20);
17 <script type=
"text/javascript" src=
"mono-config.js"></script>
18 <script type=
"text/javascript" src=
"runtime.js"></script>
19 <script async
type=
"text/javascript" src=
"mono.js"></script>
24 17 sdks/wasm/debugger-test.cs
28 public class Math { //Only append content to this class as the test suite depends on line info
29 public static int IntAdd (int a, int b) {
37 public static int UseComplex () {
38 var complex = new Simple.Complex (
10,
"xx");
39 var res = complex.DoStuff ();
44 19 sdks/wasm/debugger-test2.cs
48 public class Misc { //Only append content to this class as the test suite depends on line info
49 public static int CreateObject (int foo, int bar) {
50 var f = new Fancy () {
55 Console.WriteLine ($
"{f.Foo} {f.Bar}");
62 public int Bar { get ; set; }