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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0507.cs
blob
c0ee0bc2eb815ad720d09acbef209a075d6c125b
1
// cs0507.cs: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()'
2
// Line: 9
3
4
class
BaseClass
{
5
protected virtual void
Show
() {}
6
}
7
8
class
DerivedClass
:
BaseClass
{
9
public override void
Show
() {}
10
}
11