[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-xml-050.cs
blob5be57b7f10f007fbd7f757a256e5094b68c1a76c
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 () {
15 /// <summary />
16 public interface IA {
17 /// <summary />
18 string Name {
19 get;
22 /// <summary />
23 string Execute ();
26 /// <summary />
27 public interface IB : IA {
28 /// <summary />
29 new int Name {
30 get;
33 /// <summary />
34 new int Execute ();
37 /// <summary />
38 public class A {
39 /// <summary />
40 public string Name {
41 get { return null; }
44 /// <summary />
45 public string Execute () {
46 return null;
50 /// <summary />
51 public class B : A {
52 /// <summary />
53 public new int Name {
54 get { return 0; }
57 /// <summary />
58 public new int Execute () {
59 return 0;