[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs1594-2.cs
blob0b9465d43b8979eb3b09d445a21f40bea466d633
1 // CS1594: Delegate `Test.Foo' has some invalid arguments
2 // Line: 10
4 namespace Test {
5 delegate void Foo (string x, params string [] args);
6 class Testee {
7 static void Bar (string x, params string [] args) {}
8 static void Main () {
9 Foo bar = new Foo (Bar);
10 bar ("x' = ", new object [] {"Foo", 5, 3.6 });