projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3586 from henricm/fix-win-uri-tests
[mono.git]
/
mcs
/
errors
/
cs1501-7.cs
1
// CS1501: No overload for method `Select' takes `1' arguments
2
// Line: 17
3
4
5
using System;
6
7
class TestA
8
{
9
public string value;
10
11
public TestA (string value)
12
{
13
this.value = value;
14
}
15
16
public string Select (int i, Func<TestA, TestA> f)
17
{
18
return value;
19
}
20
}
21
22
public class M
23
{
24
static void Main ()
25
{
26
var v = new TestA ("Oh yes");
27
string foo = from a in v select a;
28
}
29
}