2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0101.cs
blob9420b0af673343e2e6245a151d053d1a81ab5718
1 // cs0101.cs: The namespace `global::' already contains a definition for `SomeEnum'
2 // Line: 10
3 using System;
5 public enum SomeEnum {
6 Something1,
7 Something2
10 public enum SomeEnum {
11 Dog,
12 Fish,
13 Cat
16 public class DupeEnumTest {
17 public static void Main(string[] args) {
18 SomeEnum someEnum = SomeEnum.Dog;
19 Console.WriteLine("SomeEnum Result: " + someEnum.ToString
20 ());