projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
[mono.git]
/
mcs
/
errors
/
cs1650.cs
1
// cs1650.cs: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
2
// Line: 14
3
4
using System;
5
6
struct S {
7
public int x;
8
}
9
10
class C {
11
static readonly S s;
12
13
public static void Main(String[] args) {
14
s.x = 42;
15
Console.WriteLine(s.x);
16
}
17
}
18