codeowners update
[mono.git] / mcs / errors / cs1593-2.cs
1 // CS1593: 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);
8
9 class X {
10         static void Main ()
11         {
12                 D d2 = delegate () {};
13         }
14 }