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-09-02 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0271.cs
blob
f01ea5e07b4b9b5284cda238b887881da8b3ee5b
1
// CS0271: The property or indexer `Test.A.B' cannot be used in this context because the get accessor is inaccessible
2
// Line: 17
3
4
using
System
;
5
6
public class
Test
7
{
8
private class
A
9
{
10
public string
B { protected get; set; }
11
}
12
13
static void
Main
()
14
{
15
A a
=
new
A
();
16
a
.
B
=
"foo"
;
17
string
b
=
a
.
B
;
18
}
19
}