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
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
gtest-163.cs
blob
e26d41b015418f18976c61ccaa96f2a11bf3213b
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
public static void
Main
()
26
{ }
27
}