Merge all static runtime libs into libmono-static.
[mono.git] / mcs / errors / cs0436-2.cs
1 // CS0436: The type `System.Runtime.CompilerServices.RuntimeHelpers' conflicts with the imported type of same name'. Ignoring the imported type definition
2 // Line: 20
3 // Compiler options: -warn:2 -warnaserror
4
5 using System.Runtime.CompilerServices;
6
7 namespace System.Runtime.CompilerServices
8 {
9         public class RuntimeHelpers
10         {
11                 public static void SomeMethod ()
12                 {
13                 }
14         }
15 }
16
17
18 class C
19 {
20         public static void Main ()
21         {
22                 RuntimeHelpers.SomeMethod (null);
23         }
24 }