repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-675-lib.cs
blob
217b87b66a66b18790ceead074b2634459d92f1a
1
// Compiler options: -t:library
2
3
public class
A
4
{
5
public override int
GetHashCode
()
6
{
7
return
1
;
8
}
9
10
public override bool
Equals
(
object
o
)
11
{
12
return true
;
13
}
14
15
public static bool operator
== (
A u1
,
A u2
)
16
{
17
return true
;
18
}
19
20
public static bool operator
!= (
A u1
,
A u2
)
21
{
22
return false
;
23
}
24
}