<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0021</ErrorName>
  <Examples>
    <string>// cs0021-2.cs: Cannot apply indexing with [] to an expression of type `System.Array'
// Line: 9 

using System;
class X {

public void Foo (Array bar)
{
  object baz = bar[0];
}

	static void Main () {}
}

</string>
    <string>// CS0021: Cannot apply indexing with [] to an expression of type `G'
// Line: 5
public class Foo&lt;G&gt; {
    public static void Bar() {
        int i = default(G)[0];
    }
}

</string>
    <string>// cs0021.cs: Cannot apply indexing with [] to an expression of type `int'
// Line: 9 
using System;

class ErrorCS0021 {
	public static void Main () {
		int i = 0;
		Console.WriteLine ("Test for ERROR CS0021: You can't use the indexer operator with a type that doesn't support it");
		Console.WriteLine ("Get i[2]: {0}", i[2]);
	}
}

</string>
  </Examples>
</ErrorDocumentation>