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
/
cs0188-3.cs
blob
b6482aff78a82bd4339928c3db95ed5ec1a6b138
1
// CS0188: The `this' object cannot be used before all of its fields are assigned to
2
// Line: 16
3
4
struct
Foo
5
{
6
public int
bar
;
7
public int
baz
;
8
9
public int
Bar
{
10
get
{ return bar; }
11
}
12
13
public
Foo
(
int
baz
)
14
{
15
this
.
baz
=
baz
;
16
bar
=
Bar
-
1
;
17
}
18
}