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
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
test-anon-49.cs
blob
4ef3c9b44ff9119d195522d4cdf6415557fdfe5c
1
using
System
;
2
using
System
.
Collections
;
3
4
public class
Test
5
{
6
public static void
Main
()
7
{
8
foreach
(
object
o
in new
Test
())
9
Console
.
WriteLine
(
o
);
10
}
11
12
public
IEnumerator
GetEnumerator
()
13
{
14
foreach
(
int
i
in new
ArrayList
())
15
yield return
i
;
16
}
17
}