[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0170.cs
blob366b485d184ec7f3ae944995c8c6ed9aae997398
1 // CS0170: Use of possibly unassigned field `a'
2 // Line: 21
4 namespace CS0170
6 public struct Foo {
7 public int a;
10 public class Bar
12 public void Inc (int x)
14 ++x;
17 static void Main ()
19 Foo f;
20 Bar b = new Bar();
21 b.Inc (f.a);