Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0165-45.cs
1 // CS0165: Use of unassigned local variable `v'
2 // Line: 19
3
4 using System;
5
6 class X
7 {
8         void Foo (out int value)
9         {
10                 value = 1;
11         }
12
13         public static void Main ()
14         {
15                 int v;
16                 X x = null;
17
18                 x?.Foo (out v);
19                 Console.WriteLine (v);
20         }
21 }