2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1594-3.cs
blob29f96bf2ff8495913f45fa6730d0f587bc6d9187
1 // cs1594-3.cs: 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'' = ", "Foo", 5, 3.6);