Custom Pattern for String.IndexOf() = -1

I'm working with some legacy VB.NET code that uses "String.IndexOf() = -1" in a number of places. I'd like to create a custom pattern to use the more obvious Not String.Contains() instead. I'm having issues getting it to work, though. Is this pattern just not possible?

1 comment
Comment actions Permalink

Hi Mike,
I created an issue for this:
Please follow it.


Please sign in to leave a comment.