repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
retag
[mcs.git]
/
errors
/
cs0188-3.cs
blob
214a43f2226d20e6cf6c5497ea14ed603b01f772
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
int
bar
;
7
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
}