projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
errors
/
cs1648-3.cs
1
// CS1648: Members of readonly field `Test.p' cannot be modified (except in a constructor or a variable initializer)
2
// Line: 17
3
4
using System;
5
6
public class Test
7
{
8
struct Container
9
{
10
public int this[int arg] {
11
set {
12
}
13
}
14
}
15
16
readonly Container p;
17
18
void Foo ()
19
{
20
p[0] = 0;
21
}
22
23
public static void Main ()
24
{
25
}
26
}