Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-partial-09.cs
1 // The standard says this doesn't have to have the 'abstract' modifier
2 public partial class Foo
3 {
4         public string myId;
5 }
6
7 public abstract partial class Foo
8 {
9         public string Id { get { return myId; } }
10 }
11
12 public class Bar : Foo
13 {
14         public Bar (string id) { myId = id; }
15 }
16
17 public class PartialAbstractCompilationError
18 {
19         public static void Main ()
20         {
21                 System.Console.WriteLine (typeof (Foo).IsAbstract);
22         }
23 }
24