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-32.cs
blob
d8e2f12c8a54b958caec395fe311eaa15aeff6c8
1
using
System
;
2
using
System
.
Collections
;
3
using
System
.
Linq
;
4
5
class
A
:
IEnumerable
6
{
7
protected int
Count
8
{
9
get
{ return 0; }
10
}
11
12
IEnumerator IEnumerable
.
GetEnumerator
()
13
{
14
return null
;
15
}
16
}
17
18
class
G
<
T
>
where T
:
A
19
{
20
void
Test
()
21
{
22
T
var
=
null
;
23
int
i
=
var
.
Count
();
24
}
25
}
26
27
public static class
Extensions
28
{
29
public static int
Count
(
this
IEnumerable seq
)
30
{
31
return
0
;
32
}
33
34
public static void
Main
()
35
{
36
}
37
}