Bump mono-extensions to fix build break (#5677)
[mono.git] / mcs / errors / cs1706-2.cs
index 0f6611574e904bef00a23f68975d591bf5b13e2f..19b5ce108da9bc5d5e578a7ea177ac824b368d5b 100644 (file)
@@ -1,18 +1,18 @@
-// cs1706-2.cs: Anonymous methods are not allowed in the attribute declaration
-// Line: 14\r
-\r
-public delegate void Proc();\r
-\r
-public class AAttribute : System.Attribute\r
-{\r
-       public AAttribute(Proc p)\r
-       { }\r
-}\r
-\r
-public class Class\r
-{\r
-       [A((object)delegate { return; })]\r
-       public void Foo()\r
-       {\r
-       }\r
-} 
\ No newline at end of file
+// CS1706: Anonymous methods and lambda expressions cannot be used in the current context
+// Line: 14
+
+public delegate void Proc();
+
+public class AAttribute : System.Attribute
+{
+       public AAttribute(Proc p)
+       { }
+}
+
+public class Class
+{
+       [A((object)delegate { return; })]
+       public void Foo()
+       {
+       }
+}