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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0507-4.cs
blob
6f8d5f6ef87a8c507e3220f783617eccf489500c
1
// CS0507: `DerivedClass.Message.set': cannot change access modifiers when overriding `public' inherited member `BaseClass.Message.set'
2
// Line: 19
3
4
class
BaseClass
{
5
public virtual string
Message
{
6
get
{
7
return
""
;
8
}
9
set
{}
10
}
11
}
12
13
class
DerivedClass
:
BaseClass
{
14
public override string
Message
{
15
get
{
16
return
""
;
17
}
18
19
private set
{}
20
}
21
}
22