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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-exmethod-30.cs
blob
19cc97cec22361bc575fab4ec4cb0f971bfbbb5c
1
using
System
.
Linq
;
2
using
System
.
Collections
;
3
using
System
.
Collections
.
Generic
;
4
5
class
Test
:
IEnumerable
<
int
>
6
{
7
public int
First
{
8
get
{
9
return
1
;
10
}
11
}
12
13
IEnumerator IEnumerable
.
GetEnumerator
()
14
{
15
return null
;
16
}
17
18
public
IEnumerator
<
int
>
GetEnumerator
()
19
{
20
return null
;
21
}
22
}
23
24
class
C
25
{
26
public void
Test
()
27
{
28
var
t
=
new
Test
();
29
var
v
=
t
.
First
();
30
}
31
32
public static void
Main
()
33
{
34
}
35
}