[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0104-3.cs
1 // CS0104: `X' is an ambiguous reference between `A.X' and `B.X'
2 // Line: 25
3
4 namespace A
5 {
6         class X { }
7 }
8
9 namespace B
10 {
11         class X { }
12 }
13
14 namespace C
15 {
16         using System;
17         using A;
18         using B;
19
20         class Test 
21         {
22                 static void Main ()
23                 {
24                         Foo (delegate {
25                                 X x;
26                         });
27                 }
28                 
29                 static void Foo (Action a)
30                 {
31                 }
32         }
33 }