[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0023-29.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `T'
2 // Line: 8
3
4 class X
5 {
6         static void Bug<T>(System.Func<T> func)
7         {
8                 var r = func?.Invoke ();
9         }
10 }