Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-debug-22.cs
1 using System;
2 using System.Collections.Generic;
3
4 class A
5 {
6         public virtual int Foo ()
7         {
8                 return 4;
9         }
10 }
11
12 class C : A
13 {
14         public IEnumerable<int> GetIter ()
15         {
16                 yield return base.Foo ();
17         }
18
19         public override int Foo ()
20         {
21                 throw new ApplicationException ();
22         }
23
24         public static void Main ()
25         {
26         }
27 }