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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0198.cs
blob
586d565a18b85ea83d1aaa5b269906fed0f4f82d
1
// CS0198: A static readonly field `X.a' cannot be assigned to (except in a static constructor or a variable initializer)
2
// Line: 8
3
class
X
{
4
static readonly int
a
;
5
6
static void
Y
()
7
{
8
a
=
1
;
9
}
10
}
11
12