Skip to content

Commit

Permalink
Undo string comparison change.
Browse files Browse the repository at this point in the history
  • Loading branch information
al2me6 committed Aug 1, 2021
1 parent d9e9264 commit c60e3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModuleManager/Extensions/StringExtensions.cs
Expand Up @@ -30,7 +30,7 @@ public static bool Contains(this string str, string value, out int index)
if (str == null) throw new ArgumentNullException(nameof(str));
if (value == null) throw new ArgumentNullException(nameof(value));

index = str.IndexOf(value, StringComparison.Ordinal);
index = str.IndexOf(value, StringComparison.CurrentCultureIgnoreCase);
return index != -1;
}
}
Expand Down

0 comments on commit c60e3c5

Please sign in to comment.