Merge pull request #5636 from BrzVlad/fix-xmm-scan
[mono.git] / mcs / errors / cs0021-2.cs
1 // CS0021: Cannot apply indexing with [] to an expression of type `System.Array'
2 // Line: 9 
3
4 using System;
5 class X
6 {
7         public void Foo (Array bar)
8         {
9                 object baz = bar[0];
10         }
11 }
12