svn path=/branches/mono-1-1-9/mcs/; revision=51207
[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 void Main ()
15         {
16                 if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
17                         throw new System.ApplicationException ();
18         }
19 }
20