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