In ilasm/tests:
[mcs.git] / tests / test-partial-08.cs
blob34bcdadfa5f35375491f96538756a35fd765f7d6
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 void Main ()
16 if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
17 throw new System.ApplicationException ();