Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
[mono.git] / mcs / errors / cs0021-3.cs
1 // CS0021: Cannot apply indexing with [] to an expression of type `G'
2 // Line: 8
3
4 public class Foo<G>
5 {
6         public static void Bar ()
7         {
8                 int i = default (G)[0];
9         }
10 }
11