Merge pull request #3686 from lambdageek/dev-format-printf
[mono.git] / mcs / errors / cs0021-2.cs
index 6b8046153580efd151e2c03e3e8b94689731f02a..0045986fed54c92c84a61a381962c9c003e53eff 100644 (file)
@@ -1,14 +1,12 @@
-// cs0021-2.cs: Cannot apply indexing with [] to an expression of type `System.Array'
+// CS0021: Cannot apply indexing with [] to an expression of type `System.Array'
 // Line: 9 
 
 using System;
-class X {
-
-public void Foo (Array bar)
+class X
 {
-  object baz = bar[0];
-}
-
-       static void Main () {}
+       public void Foo (Array bar)
+       {
+               object baz = bar[0];
+       }
 }