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