projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[gacutil] Use IKVM.Reflection instead of System.Reflection (#3582)
[mono.git]
/
mcs
/
tests
/
gtest-linq-26.cs
1
using System;
2
using System.Linq;
3
4
namespace Test
5
{
6
class S<T>
7
{
8
public S ()
9
{
10
}
11
12
public string Where (Func<C, string> cexpr)
13
{
14
return String.Empty;
15
}
16
}
17
18
class C
19
{
20
}
21
22
static class Extension
23
{
24
public static string Is (this C c)
25
{
26
return null;
27
}
28
}
29
30
class Program
31
{
32
public static void Main ()
33
{
34
var value = new S<int> ();
35
var e = from item in value
36
where item.Is ()
37
select item;
38
39
var foo = value.Where (p => p.Is ());
40
}
41
}
42
}
43