diff options
author | David Karlaš <david.karlas@xamarin.com> | 2017-07-06 12:22:15 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2017-07-06 12:22:15 +0300 |
commit | f4f030f434066bd8350721280ed324975a79929c (patch) | |
tree | c3485bb5e9b9fc01505af2f3146e93acc19dd43d /UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs | |
parent | fa8e6a9e7ec4784c4883d36233fe42200270b08f (diff) |
Bug 57425 - Debugger cannot evaluate base interface members
Diffstat (limited to 'UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs')
-rw-r--r-- | UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs b/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs index d227d6d..733163b 100644 --- a/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs +++ b/UnitTests/MonoDevelop.Debugger.Tests.TestApp/TestEvaluation.cs @@ -34,6 +34,32 @@ using System.Threading.Tasks; namespace MonoDevelop.Debugger.Tests.TestApp { + namespace Bug57425 + { + interface IEx : IFoo + { + + } + + interface IFoo + { + string Prop { get; } + } + + class B : IEx + { + public string Prop { + get { + return "3"; + } + } + } + class MainClass : B + { + + } + } + interface IFoo { int this[int index] { get; } @@ -229,6 +255,8 @@ namespace MonoDevelop.Debugger.Tests.TestApp Foo = new FooBar (); Bar = new FooBar (); + Bug57425.IEx bug57425 = new Bug57425.MainClass (); + var testEvaluationChild = new TestEvaluationChild (); Console.WriteLine (n); /*break*/ |