repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs1650-2.cs
blob
9aa902d435d587859ee07cbdccfde94f03bf8b33
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