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
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
errors
/
cs1604-2.cs
blob
7116ba3dafa8abef5d465afdb8ba88f1d2c1d9f9
1
// CS1604: Cannot assign to `this' because it is read-only
2
// Line: 8
3
// Compiler options: -langversion:latest
4
5
readonly struct
S
6
{
7
void
Foo
()
8
{
9
this
=
new
S
();
10
}
11
}