[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs0411-10.cs
1 // CS0411: The type arguments for method `C.Foo<T>(T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2 // Line: 14
3 // Compiler options: -unsafe
4
5 class C
6 {
7         static void Foo<T> (T t)
8         {
9         }
10
11         unsafe static void Test ()
12         {
13                 int* i = null;
14                 Foo (i);
15         }
16 }