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