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

namespace System
{
    public class Console
    {
    }
}

public class C
{
    public static void Main ()
    {
        new System.Console ();
    }
}