<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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-2.cs: Cannot apply indexing with [] to an expression of type `Foo'
// Line: 14

using System;
	
public class Foo {
	private int this[int index] { get { return index; } }
}
	
public class Bar {
	public static void Main ()
	{
		Foo foo = new Foo ();
		Console.WriteLine (foo[5]);
	}
}
</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>