projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0411-25.cs
1
// CS0411: The type arguments for method `C.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
2
// Line: 10
3
4
using System;
5
6
public class C
7
{
8
public static void Main ()
9
{
10
Foo (() => throw null);
11
}
12
13
static void Foo<T> (Func<T> arg)
14
{
15
}
16
}