Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
[mono.git] / mcs / errors / cs0021-4.cs
1 // CS0021: Cannot apply indexing with [] to an expression of type `method group'
2 // Line: 
3
4 class X
5 {
6         public void Foo ()
7         {
8                 object baz = Foo [0];
9         }
10 }
11