repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
gtest-linq-24.cs
blob
8c3b5d4ac07355ebe6d698b33e892fe43b01c079
1
using
System
;
2
using
System
.
Linq
;
3
4
class
A
5
{
6
public int
Value
;
7
}
8
9
class
C
10
{
11
A
[]
Prop
{
12
get
{
13
return new
A
[
1
]
{ new A () }
;
14
}
15
}
16
17
void
Test
()
18
{
19
int
i
=
9
;
20
var
c
=
new
C
();
21
var
r
=
Prop
.
Select
(
l
=>
l
.
Value
).
ToArray
();
22
}
23
24
public static int
Main
()
25
{
26
new
C
().
Test
();
27
return
0
;
28
}
29
}