Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs1676.cs
blob01afadcad0d1dd88da4bfa7dcbf37ddf7e53fd44
1 // CS1676: Parameter `1' must be declared with the `ref' keyword
2 // Line: 11
3 //
4 // The delegate has an explicit signature, so it can not be assigned.
5 //
6 delegate void D (ref int x);
8 class X {
9 static void Main ()
11 D d2 = delegate (int x) {};