https://bugs.winehq.org/show_bug.cgi?id=48290
--- Comment #3 from sahelanthropus 3dw_50ssu16amyn7@byom.de --- Forgot to mention I tested with wine 4.21 and wine-staging 5.0-rc1 on Ubuntu 18.04.3
More ways to create the same exception:
"".Remove(1); // remove more than is in string
or
foreach (int x in new Object[2]) {} // cast object as int