[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / errors / cs0136-4.cs
blob52724005c8a54e0e41e8e0feb36228265e50ac0e
1 // CS0136: A local variable named `res' cannot be declared in this scope because it would give a different meaning to `res', which is already used in a `child' scope to denote something else
2 // Line: 15
4 class C
6 public void Foo (int i, int v)
8 switch (i) {
9 case 1:
10 if (v > 0) {
11 int res = 1;
13 break;
14 case 2:
15 int res = 2;
16 break;