Fix CA2249, CA2251
This commit is contained in:
committed by
Matthias Mailänder
parent
285443f10f
commit
169c60883b
@@ -102,7 +102,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
if (!SelectedCategories.Overlaps(t.Categories))
|
||||
continue;
|
||||
|
||||
if (!string.IsNullOrEmpty(searchFilter) && !t.SearchTerms.Any(s => s.IndexOf(searchFilter, StringComparison.OrdinalIgnoreCase) >= 0))
|
||||
if (!string.IsNullOrEmpty(searchFilter) &&
|
||||
!t.SearchTerms.Any(s => s.Contains(searchFilter, StringComparison.CurrentCultureIgnoreCase)))
|
||||
continue;
|
||||
|
||||
var tileId = t.Template.Id;
|
||||
|
||||
Reference in New Issue
Block a user