public void IndexOfAny() { var str = new StringSlice("hello cruel world!"); Assert.That(str.IndexOfAny(new[] { 'r', 'w', 'd' }), Is.EqualTo(7)); str = str.Substring(5); Assert.That(str.IndexOfAny(new[] { 'o', 'w', 'd' }), Is.EqualTo(7)); }