"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs0411-17.cs
bloba0f37af5e3590492d0b2bfa57489d2e40c206da4
1 // CS0411: The type arguments for method `C.Test<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 14
4 using System;
6 interface IB
10 class C
12 public static void Main ()
14 Test (() => { if (true) return (C) null; return (IB) null; });
17 static void Test<T> (Func<T> f)