[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0108-12.cs
1 // CS0108: `Libs.MyLib' hides inherited member `Foo.MyLib'. Use the new keyword if hiding was intended
2 // Line: 18
3 // Compiler options: -warnaserror -warn:2
4
5 using System;
6 using System.Runtime.InteropServices;
7  
8 class Test {
9         [DllImport (Libs.MyLib)]
10         private static extern void foo ();
11  
12         public static void Main ()
13         {
14         }
15 }
16  
17 class Libs : Foo {
18         internal const string MyLib = "SomeLibrary";
19 }
20 class Foo {
21         internal const string MyLib = "Foo";
22 }