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
* MonthCalendar.cs:
[mono-project.git]
/
mcs
/
tests
/
gen-73.cs
blob
1790930604c813b7346ac4d5aaf76f2286c9232f
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
class
MyList
<
T
> :
IEnumerable
<
T
>
5
{
6
public
IEnumerator
<
T
>
GetEnumerator
()
7
{
8
yield break
;
9
}
10
}
11
12
struct
Foo
<
T
>
13
{
14
public readonly
T Data
;
15
16
public
Foo
(
T data
)
17
{
18
this
.
Data
=
data
;
19
}
20
}
21
22
class
X
23
{
24
static void
Main
()
25
{
26
MyList
<
Foo
<
int
>>
list
=
new
MyList
<
Foo
<
int
>> ();
27
foreach
(
Foo
<
int
>
foo
in
list
)
28
;
29
}
30
}