projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs1648-2.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 foo { get; set; }
11
}
12
13
readonly Container p;
14
15
void Foo ()
16
{
17
p.foo = 0;
18
}
19
20
public static void Main ()
21
{
22
}
23
}