1 // cs0108-12.cs: `Libs.MyLib' hides inherited member `Foo.MyLib'. Use the new keyword if hiding was intended
3 // Compiler options: -warnaserror -warn:2
6 using System.Runtime.InteropServices;
9 [DllImport (Libs.MyLib)]
10 private static extern void foo ();
12 public static void Main ()
18 internal const string MyLib = "SomeLibrary";
21 internal const string MyLib = "Foo";