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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0659.cs
blob
304ce6da86b14ffcf76e6c32bcb67612aa4dcda6
1
// CS0659: `E' overrides Object.Equals(object) but does not override Object.GetHashCode()
2
// Line: 13
3
// Compiler options: -warnaserror -warn:3
4
5
public class
Base
6
{
7
public override int
GetHashCode
()
8
{
9
return
2
;
10
}
11
}
12
13
public class
E
:
Base
14
{
15
public override bool
Equals
(
object
o
)
16
{
17
return true
;
18
}
19
}