You've already forked linux-packaging-mono
Imported Upstream version 3.12.0
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
15
mcs/errors/cs0411-24.cs
Normal file
15
mcs/errors/cs0411-24.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// CS0411: The type arguments for method `C.Foo<T>(out T)' cannot be inferred from the usage. Try specifying the type arguments explicitly
|
||||
// Line: 8
|
||||
|
||||
public class C
|
||||
{
|
||||
public static void Main ()
|
||||
{
|
||||
Foo (out var y);
|
||||
}
|
||||
|
||||
static void Foo<T> (out T t)
|
||||
{
|
||||
t = default (T);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user