Merge pull request #2314 from lambdageek/dev/local-handles
[mono-project.git] / mcs / errors / cs0411-24.cs
blob75a5d859176b968d86abf91ee80297bf401d3d66
1 // CS0411: The type arguments for method `C.Foo<T>(out T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 8
3 // Compiler options: -langversion:experimental
5 public class C
7 public static void Main ()
9 Foo (out var y);
12 static void Foo<T> (out T t)
14 t = default (T);