2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-partial-08.cs
blob0d1bfca143abff2ca8156ec121343f179ac1d57f
1 // The standard says this doesn't have to have the 'sealed' modifier
2 public partial class Foo
4 public string myId;
7 public sealed partial class Foo
9 public string Id { get { return myId; } }
12 public class PartialAbstractCompilationError
14 public static int Main ()
16 if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
17 return 1;
19 System.Console.WriteLine ("OK");
20 return 0;