[tests] Disable tests that crash on android sdks (#17255)
[mono-project.git] / mono / unit-tests / callspec.cs
blobab7421ec46e08f9871b1eed3db242d21066a6f9f
2 namespace Baz
4 class Foo
6 public Foo()
10 public string Bar()
12 return "Hello, World!";
15 public string Bar(string who)
17 return "Hello, " + who + "!";
21 class Goo
23 public Goo()
27 public string Bar(string greet)
29 return greet + ", World!";
33 class Foo2
35 public Foo2()
39 public string Bar(string greet)
41 return greet + ", World!!!";
45 class MainClass
47 public static void Main(string[] args)
49 var foo = new Foo();
50 System.Console.WriteLine(foo.Bar());
51 System.Console.WriteLine(foo.Bar("World"));
52 var goo = new Goo();
53 System.Console.WriteLine(goo.Bar("Hello"));
54 var foo2 = new Foo2();
55 System.Console.WriteLine(foo2.Bar("Hello"));