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
Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git]
/
mcs
/
tests
/
gtest-229.cs
blob
e32e26a3ca61c901eb969224038f9f3a70328c7f
1
using
System
;
2
using
System
.
Collections
;
3
using
System
.
Collections
.
Generic
;
4
5
public class
B
:
IComparable
<
B
> {
6
public int
CompareTo
(
B b
)
7
{
8
return
0
;
9
}
10
}
11
12
public class
Tester
13
{
14
public static int
Main
()
15
{
16
B b
=
new
B
();
17
18
// This should be false
19
if
(
b
is
IComparable
<
object
>)
20
return
1
;
21
return
0
;
22
}
23
}