Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0837-2.cs
blobeea4c130ea12f84ecf8d1f8ab3c658af097503b6
1 // CS0837: The `as' operator cannot be applied to a lambda expression, anonymous method, or method group
2 // Line: 14
4 class X
6 delegate void D ();
8 static void Test (D d)
12 static void Main ()
14 Test ((() => { }) as D);