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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0122-23.cs
blob
0fd03a5738bc9c2676a22bce60b6c8fa393246f0
1
// CS0122: `C.this[int]' is inaccessible due to its protection level
2
// Line: 6
3
4
using
System
;
5
using
System
.
Collections
;
6
7
class
C
8
{
9
protected string this
[
int
i
]
{ set {}
}
10
}
11
12
public class
D
13
{
14
void
Foo
()
15
{
16
C c
=
new
C
();
17
c
[
0
] =
null
;
18
}
19
}