using System; class Foo<Bar> { } class Foo<Baz> { } public class Test { public static void Main() { } }
Standard input is empty
prog.cs(6,7): error CS0101: The namespace `global::' already contains a definition for `Foo<Baz>' prog.cs(3,7): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings
Standard output is empty