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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
gtest-163.cs
blob
5352bb455ae37602a252c4d390b11ea48c99486d
1
using
System
;
2
using
System
.
Collections
;
3
using
System
.
Collections
.
Generic
;
4
5
public class
Foo
<
T
>
6
{
7
public
IEnumerator
<
T
>
getEnumerator
(
int
arg
)
8
{
9
if
(
arg
==
1
) {
10
int
foo
=
arg
;
11
Console
.
WriteLine
(
foo
);
12
}
13
14
if
(
arg
==
2
) {
15
int
foo
=
arg
;
16
Console
.
WriteLine
(
foo
);
17
}
18
19
yield break
;
20
}
21
}
22
23
class
X
24
{
25
static void
Main
()
26
{ }
27
}