[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0022.cs
blob8cda282a18ce7cf5ec20ff67e1504181edfbc4f4
1 // CS0022: Wrong number of indexes `2' inside [], expected `1'
2 // Line: 9
3 using System;
5 class ErrorCS0022 {
6 static void Main () {
7 int[] integer_array = {0, 1};
8 Console.WriteLine ("Test for Error CS0022: The compiler should say wrong number of fields inside the indexer");
9 Console.WriteLine ("Trying to access integer_array[2, 3] in a one-dimensional array: {0}", integer_array[2,3]);