eol
[mcs.git] / tests / test-135.cs
blob5d1092efa7f32e7c5b6f0545344de1fb92acccb4
1 using System;
2 using System.Reflection;
3 // test bug bug#26264
5 interface IA {
6 void doh();
8 interface IB {
10 IA Prop {get;}
12 class A : IA {
13 public void doh() {}
15 class T : IB {
16 IA IB.Prop {
17 get { return new A(); }
19 public A Prop {
20 get { return new A(); }
22 static int Main() {
23 PropertyInfo[] p = typeof (T).GetProperties (BindingFlags.Public| BindingFlags.NonPublic|BindingFlags.Instance);
24 if (p == null || p.Length != 2)
25 return 1;
26 return 0;