projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not remap framework assembly if it's version is higher than the runtime version
[mono.git]
/
mcs
/
tests
/
gtest-exmethod-30.cs
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
}