[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0165-45.cs
blob7da1251664947a35665180783d90ef1fc59c909c
1 // CS0165: Use of unassigned local variable `v'
2 // Line: 19
4 using System;
6 class X
8 void Foo (out int value)
10 value = 1;
13 public static void Main ()
15 int v;
16 X x = null;
18 x?.Foo (out v);
19 Console.WriteLine (v);