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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0507-2.cs
blob
2711d9ae72ecbd9c736dffa259956e358a557e85
1
// CS0507: `DerivedClass.Message.set': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Message.set'
2
// Line: 15
3
4
class
BaseClass
{
5
public virtual string
Message
{
6
get
{
7
return
""
;
8
}
9
protected set
{
10
}
11
}
12
}
13
14
class
DerivedClass
:
BaseClass
{
15
public override string
Message
{
16
get
{
17
return
""
;
18
}
19
set
{
20
}
21
}
22
}
23