summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0628-3.cs
blob: aa094ee172dca4285965aa2f743900ea239215bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0628: `Test.print_argv(string[])': new protected member declared in sealed class
// Line: 8
// Compiler options: -warn:4 -warnaserror

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 () { }
}