linux-packaging-mono/mcs/tests/test-xml-050.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

62 lines
946 B
C#

// Compiler options: -doc:xml-050.xml -warnaserror
// see bug #76954.
// NOTE: It might got broken after some /doc related merge.
/// <summary>
/// <see cref="IB.Execute ()" />
/// <see cref="IB.Name" />
/// <see cref="B.Execute ()" />
/// <see cref="B.Name" />
/// </summary>
public class EntryPoint {
static void Main () {
}
}
/// <summary />
public interface IA {
/// <summary />
string Name {
get;
}
/// <summary />
string Execute ();
}
/// <summary />
public interface IB : IA {
/// <summary />
new int Name {
get;
}
/// <summary />
new int Execute ();
}
/// <summary />
public class A {
/// <summary />
public string Name {
get { return null; }
}
/// <summary />
public string Execute () {
return null;
}
}
/// <summary />
public class B : A {
/// <summary />
public new int Name {
get { return 0; }
}
/// <summary />
public new int Execute () {
return 0;
}
}