2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0837.cs
blob94c1f8510b9e0a78215697af9170e55777e8b4d5
1 // CS0837: The `as' operator cannot be applied to a lambda expression or anonymous method
2 // Line: 15
5 class X
7 delegate void D ();
9 static void Test (D d)
13 static void Main ()
15 Test ((() => { }) as D);