Detect exception, in this case IndexOutOfRangeException
Hi,
I've downloaded the trial and its great to find Possible Null reference exception issues. But what about possible IndexOutOfRangeException
Se this code
var myArray = new string[3];
myArray[0] = "Object 1";
myArray[9] = "Object 2";
myArray[2] = "Object 3";
I actually thought it would say something about
myArray[9]
Maybe I'm doing something wrong. I use the factory settings of ReSharper.
Thanks
Ralph
Please sign in to leave a comment.
Hello Ralph
There's no such functionality in ReSharper yet. You're welcome to put a feature request through http://youtrack.jetbrains.net/issues/RSRP. Thank you!
Andrey Serebryansky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"