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
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0737-3.cs
blob
aaf15167aac222663faaa0201c89a55de5f93875
1
// CS0737: `MySubClass' does not implement interface member `I.Foo.set' and the best implementing candidate `MyTest.Foo.set' in not public
2
// Line: 6
3
4
using
System
;
5
6
interface
I
7
{
8
int
Foo { get; set; }
9
}
10
11
public class
MySubClass
:
MyTest
,
I
12
{
13
}
14
15
public class
MyTest
16
{
17
public int
Foo
18
{
19
get
{ return 1; }
20
protected set
{ }
21
}
22
}