projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
cs0271-2.cs
1
// CS0271: The property or indexer `C.this[string]' cannot be used in this context because a `set' accessor is inaccessible
2
// Line: 13
3
4
class C
5
{
6
public int this [string i] { private set { } get { return 1; } }
7
}
8
9
public class Test
10
{
11
void Foo ()
12
{ C c = new C ();
13
c [""] = 9;
14
}
15
}