[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0188-7.cs
blob1104a386705ceead2081cd8ba4ec83771554e8b7
1 // CS0188: The `this' object cannot be used before all of its fields are assigned to
2 // Line: 10
4 public struct Test
6 internal int x;
8 public Test (int x)
10 X = x;
13 public int X
15 get { return x; }
16 set { x = value; }