1 // cs0441-2.cs : `Foo': a class cannot be both static and sealed
3 public sealed partial class Foo
8 public static partial class Foo
10 public string Id { get { return myId; } }
13 public class PartialAbstractCompilationError
15 public static void Main ()
17 System.Console.WriteLine (typeof (Foo).IsSealed);
18 System.Console.WriteLine (typeof (Foo).IsAbstract);