-// cs0628.cs: 'B._a': new protected member declared in static class
-// Line: 6
-// Compiler options: -warnaserror -warn:4
+// CS0628: `Test.print_argv(string[])': new protected member declared in sealed class
+// Line: 8
+// Compiler options: -warn:4 -warnaserror
-public static class B
-{
- protected static object _a = null;
-
+using System;
+
+internal sealed class Test {
+ protected string print_argv (string[] argv)
+ {
+ if (argv == null)
+ return "null";
+ else
+ return String.Join (":", argv);
+ }
+
+ static void Main () { }
}