[mcs] Fixes codegen for pattern probing with value-type variables
[mono.git] / mcs / errors / cs4010-2.cs
1 // CS4010: Cannot convert async anonymous method to delegate type `System.Func<string>'
2 // Line: 10
3
4 using System;
5
6 class C
7 {
8         public static void Main ()
9         {
10                 Func<string> a = async delegate { };
11         }
12 }