[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0168-3.cs
blobe57dca5b94311ed449076fa5cf613814820cdac2
1 // CS0168: The variable `y2' is declared but never used
2 // Line: 9
3 // Compiler options: -warn:3 -warnaserror
5 class CompilerBugDemo
7 public static object Wrong()
9 object y2;
10 return null;