[wasm] Add support for pinvokes in user assemblies. (#14253)
[mono-project.git] / sdks / wasm / debugger-test2.cs
blobf1baf3fde5d2867548842f8e325920fe617b282f
1 using System;
3 public class Misc { //Only append content to this class as the test suite depends on line info
4 public static int CreateObject (int foo, int bar) {
5 var f = new Fancy () {
6 Foo = foo,
7 Bar = bar,
8 };
10 Console.WriteLine ($"{f.Foo} {f.Bar}");
11 return f.Foo + f.Bar;
15 public class Fancy {
16 public int Foo;
17 public int Bar { get ; set; }