Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1677.cs
index 5a44432d2288378504befd03790d1c161bed7d37..d371ef532b651008c50af62e477739820e5611af 100644 (file)
@@ -1,13 +1,11 @@
-// cs1677.cs: Parameter `1' should not be declared with the `out' 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 {
        static void Main ()
        {
-               D d2 = delegate (out int x) {};
+               D d2 = delegate (ref int x) {};
        }
 }