[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-xml-050.cs
1 // Compiler options: -doc:xml-050.xml -warnaserror
2 // see bug #76954.
3 // NOTE: It might got broken after some /doc related merge.
4 /// <summary>
5 /// <see cref="IB.Execute ()" />
6 /// <see cref="IB.Name" />
7 /// <see cref="B.Execute ()" />
8 /// <see cref="B.Name" />
9 /// </summary>
10 public class EntryPoint {
11   static void Main () {
12   }
13 }
14
15 /// <summary />
16 public interface IA {
17   /// <summary />
18   string Name {
19     get;
20   }
21
22   /// <summary />
23   string Execute ();
24 }
25
26 /// <summary />
27 public interface IB : IA {
28   /// <summary />
29   new int Name {
30     get;
31   }
32
33   /// <summary />
34   new int Execute ();
35 }
36
37 /// <summary />
38 public class A {
39   /// <summary />
40   public string Name {
41     get { return null; }
42   }
43
44   /// <summary />
45   public string Execute () {
46     return null;
47   }
48 }
49
50 /// <summary />
51 public class B : A {
52   /// <summary />
53   public new int Name {
54     get { return 0; }
55   }
56
57   /// <summary />
58   public new int Execute () {
59     return 0;
60   }
61 }