Merge pull request #3749 from BrzVlad/fix-mips-fix
[mono.git] / mcs / errors / cs1677-2.cs
index b0f1ba78b01cef3f5ba58e04d0da2cef7b9093fd..c005bfd7451172d1873f80387e753ef6fc4c158a 100644 (file)
@@ -1,13 +1,13 @@
-// cs1677-2.cs: Parameter `1' should not be declared with the `ref' keyword
-// Line: 11
-//
-// The delegate has an explicit signature, so it can not be assigned.
-//
+// CS1677: Parameter `1' should not be declared with the `ref' keyword
+// Line: 9
+
+
 delegate void D (int x);
 
-class X {
+class X
+{
        static void Main ()
        {
-               D d2 = delegate (ref int x) {};
+               D d2 = (ref int x) => {};
        }
 }