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