[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0136-18.cs
blob7c2bff9836fd33db07bca58792d74a26030f825f
1 // CS0136: A local variable named `arg' cannot be declared in this scope because it would give a different meaning to `arg', which is already used in a `parent or current' scope to denote something else
2 // Line: 11
3 // Compiler options: -langversion:experimental
5 using System;
7 class A (Func<int, int> barg)
11 class B (int arg)
12 : A ((arg) => 1)