Code inspection: String.IndexOf is culture-specific (string.IndexOf(string, int) is culture-specific)
Similarly to the Specify a culture in string conversion explicitly, this inspection helps to avoid problems with running your code on machines with different culture settings.
To resolve this problem, ReSharper suggests adding the culture-invariant StringComparison.Ordinal explicitly to the method call.
11 February 2024