2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0628-3.cs
blob8ee696b95ee68ba1bfa23c0737b08e74b8c4e7e6
1 // cs0628-3.cs: `Test.print_argv(string[])': new protected member declared in sealed class
2 // Line: 8
3 // Compiler options: -warn:4 -warnaserror
5 using System;
7 internal sealed class Test {
8 protected string print_argv (string[] argv)
10 if (argv == null)
11 return "null";
12 else
13 return String.Join (":", argv);
16 static void Main () { }