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
/
cs0170-3.cs
blob
a6f7109fb9e6793f603f64af2cdfbad4e2fdcc25
1
// CS0170: Use of possibly unassigned field `p'
2
// Line: 21
3
4
using
System
;
5
6
struct
S2
7
{
8
public int
p
;
9
}
10
11
struct
S
12
{
13
public
S2 s2
;
14
}
15
16
class
C
17
{
18
static void
Main
()
19
{
20
S s
;
21
Console
.
WriteLine
(
s
.
s2
.
p
);
22
}
23
}