2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs1593-2.cs
blob86d6a75b617522bd65414810b2670e04067ed8dd
1 // cs1593-2.cs: Delegate `D' does not take `0' arguments
2 // Line: 11
3 //
4 // The delegate has an explicit signature with 0 arguments, so it
5 // can not be assigned to a delegate with one argument.
6 //
7 delegate void D (int x);
9 class X {
10 static void Main ()
12 D d2 = delegate () {};