projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[xbuild] Remove ErrorTest.TestExecute1()
[mono.git]
/
mcs
/
errors
/
cs1060-2.cs
1
// CS1060: Use of possibly unassigned field `c'
2
// Line: 25
3
// Compiler options: -warnaserror
4
5
public class C
6
{
7
public int v;
8
}
9
10
public struct S2
11
{
12
public C c;
13
}
14
15
public struct S
16
{
17
public S2 s2;
18
}
19
20
public class Test
21
{
22
static void Main ()
23
{
24
S s;
25
s.s2.c.v = 9;
26
}
27
}