Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0418-3.cs
1 // CS0418: `Foo': an abstract class cannot be sealed or static
2 // Line: 3
3 public abstract sealed partial class Foo
4 {
5         public string myId;
6 }
7
8 public class PartialAbstractCompilationError
9 {
10         public static void Main ()
11         {
12                 System.Console.WriteLine (typeof (Foo).IsSealed);
13                 System.Console.WriteLine (typeof (Foo).IsAbstract);
14         }
15 }
16