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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
errors
/
cs1060-4.cs
blob
f811f514665281b0ce3fb3f8598d6f0d433c7621
1
// CS1060: Use of possibly unassigned field `x'
2
// Line: 30
3
// Compiler options: -warnaserror
4
5
public class
C
6
{
7
public int
v
;
8
}
9
10
public struct
S
11
{
12
public
C c
;
13
}
14
15
class
X
16
{
17
public
S s
;
18
}
19
20
struct
S2
21
{
22
public
X x
;
23
}
24
25
public class
Test
26
{
27
static void
Main
()
28
{
29
S2 s2
;
30
s2
.
x
.
s
.
c
.
v
=
5
;
31
}
32
}