summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0436-2.cs
blob: b4545a96bd376de47cee6ab14a2b6bace7a96987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// CS0436: The type `System.Runtime.CompilerServices.RuntimeHelpers' conflicts with the imported type of same name'. Ignoring the imported type definition
// Line: 20
// Compiler options: -warn:2 -warnaserror

using System.Runtime.CompilerServices;

namespace System.Runtime.CompilerServices
{
	public class RuntimeHelpers
	{
		public static void SomeMethod ()
		{
		}
	}
}


class C
{
	public static void Main ()
	{
		RuntimeHelpers.SomeMethod (null);
	}
}