projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[sre] Make sure a generic definition TypeBuilder has its generic_container setup...
[mono.git]
/
mcs
/
errors
/
cs1942-2.cs
1
// CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select'
2
// Line: 18
3
4
using System;
5
6
class TestA
7
{
8
public string Select<U> (Func<TestA, U> f)
9
{
10
return "";
11
}
12
}
13
14
public class C
15
{
16
static void Main ()
17
{
18
string foo = from a in new TestA () select null;
19
}
20
}