[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0128-4.cs
blob4a38920cda8cccacfc88b0f32f9efec77b43b7bd
1 // CS0128: A local variable named `s' is already defined in this scope
2 // Line: 12
4 class C
6 public static void Main ()
8 object o = null;
10 var x1 = o is string s;
11 var x2 = o is string s;