projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
gtest-163.cs
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
}