Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / errors / cs0029-35.cs
1 // CS0029: Cannot implicitly convert type `string' to `int'
2 // Line: 10
3 // Compiler options: -unsafe
4
5 class TestClass
6 {
7         public unsafe static void Main ()
8         {
9                 int* arr = null;
10                 var i = arr["c"];
11         }
12 }