[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0441-2.cs
1 // CS0441: `Foo': a class cannot be both static and sealed
2 // Line: 3
3 public sealed partial class Foo
4 {
5         public string myId;
6 }
7
8 public static partial class Foo
9 {
10         public string Id { get { return myId; } }
11 }
12
13 public class PartialAbstractCompilationError
14 {
15         public static void Main ()
16         {
17                 System.Console.WriteLine (typeof (Foo).IsSealed);
18                 System.Console.WriteLine (typeof (Foo).IsAbstract);
19         }
20 }
21