Does Jint multidimensional indexers from CLR object?
static void Main()
{
JintEngine je = new JintEngine();
je.Run(@"
var test = new JintTest.Test();
test[2,3];
");
}
}
public class Test
{
public int this[int i, int j]
{
get
{
return i + j;
}
}
}
This code does not cause an error. It just does not work.