Files
linux-packaging-mono/mcs/errors/cs1594-3.cs

14 lines
308 B
C#
Raw Normal View History

// CS1594: Delegate `Test.Foo' has some invalid arguments
// Line: 10
namespace Test {
delegate void Foo (string x, params string [] args);
class Testee {
static void Bar (string x, params string [] args) {}
static void Main () {
Foo bar = new Foo (Bar);
bar ("x'' = ", "Foo", 5, 3.6);
}
}
}