projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #799 from kebby/master
[mono.git]
/
mcs
/
errors
/
cs1650-2.cs
1
// CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
2
// Line: 15
3
4
struct S
5
{
6
public int x { get; set; }
7
}
8
9
class C
10
{
11
static readonly S s;
12
13
public static void Main (string[] args)
14
{
15
s.x = 42;
16
}
17
}
18