Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0837.cs
1 // CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group
2 // Line: 8
3
4 class X
5 {
6         static void Main ()
7         {
8                 if (delegate {} is int) {
9                         return;
10                 }
11         }
12 }