[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0170-3.cs
bloba6f7109fb9e6793f603f64af2cdfbad4e2fdcc25
1 // CS0170: Use of possibly unassigned field `p'
2 // Line: 21
4 using System;
6 struct S2
8 public int p;
11 struct S
13 public S2 s2;
16 class C
18 static void Main()
20 S s;
21 Console.WriteLine (s.s2.p);