[xbuild] Add support for Before/AfterTargets.
[mono.git] / mcs / errors / cs0102-6.cs
index 2e208615fbb82085c3bc252fccb010e8d78a88c1..45f5079461f1b31bd73e0ea5ff48b097ec11d2d3 100644 (file)
@@ -1,17 +1,7 @@
-// CS0102: The container `Test' already contains a definition for `x'
-// Line: 10
-partial class Test
-{
-       int x;
-}
-
-partial class Test
-{
-       int x;
-}
+// cs0102-6.cs: The type `X' already contains a definition for `A'
+// Line: 6
 
-class X
-{
-       static void Main ()
-       { }
+class X {
+       const int A = 10;
+       int A () {}
 }