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
retag
[mcs.git]
/
errors
/
cs0108-6.cs
blob
466fd42b1341d1933c12e65bac04ae4aad8605aa
1
// cs0108-6.cs: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended
2
// Line: 14
3
// Compiler options: -warnaserror -warn:2
4
5
class
Base
{
6
public int
Prop
{
7
get
{
8
return
0
;
9
}
10
}
11
}
12
13
class
Derived
:
Base
{
14
public bool
Prop
=
false
;
15
}