Merge pull request #5002 from BrzVlad/feature-sgen-modes
[mono.git] / mcs / errors / cs1678.cs
1 // CS1678: Parameter `1' is declared as type `long' but should be `int'
2 // Line: 9
3
4 delegate void D (int x);
5
6 class X {
7         static void Main ()
8         {
9                 D d2 = delegate (long x) {};
10         }
11 }