[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0165-42.cs
blob81de0cf86853033f310d2481f9f09cff243fc33e
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 14
4 using System;
6 class Program
8 public static void Main ()
10 object a;
11 string s = null;
13 var res = s ?? (a = null);
14 Console.WriteLine (a);