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
for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git]
/
mcs
/
errors
/
cs0170-6.cs
blob
63e784e95232997f56d2f2a4d8494eedd9a65849
1
// CS0170: Use of possibly unassigned field `c'
2
// Line: 21
3
4
public class
C
5
{
6
public int
v
;
7
}
8
9
public struct
S
10
{
11
public int
a
;
12
public
C c
;
13
}
14
15
public class
Test
16
{
17
static void
Main
()
18
{
19
S s
;
20
s
.
a
=
2
;
21
int
xx
=
s
.
c
.
v
;
22
}
23
}