projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove redundant file from Java build
[mono.git]
/
mcs
/
errors
/
cs1612-3.cs
1
// cs1612-3.cs: Cannot modify the return value of `bar.this[...]' because it is not a variable
2
// Line: 19
3
4
struct foo {
5
public int x;
6
}
7
8
class bar {
9
public foo this [int x] {
10
get { return new foo (); }
11
set { }
12
}
13
}
14
15
class main {
16
static void Main ()
17
{
18
bar b = new bar ();
19
b [0].x = 5;
20
}
21
}