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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0188-8.cs
blob
57dd731ebca3e34379a6940aeb59c456dc9c8c1f
1
// CS0188: The `this' object cannot be used before all of its fields are assigned to
2
// Line: 8
3
4
struct
Sample
5
{
6
public
Sample
(
int
arg
)
7
{
8
text
=
this
.
Prop
;
9
}
10
11
int
Prop { get { return 1; }
}
12
13
public int
text
;
14
}