[cs] fix Array.indexOf with startIndex greater than length, test it (let's hear from travis if only c# is affected)