diff --git a/AssemblyRemapper/Reflection/SearchExtentions.cs b/AssemblyRemapper/Reflection/SearchExtentions.cs index 1d50f3b..34feaf0 100644 --- a/AssemblyRemapper/Reflection/SearchExtentions.cs +++ b/AssemblyRemapper/Reflection/SearchExtentions.cs @@ -300,7 +300,7 @@ internal static class SearchExtentions public static EMatchResult MatchNestedTypes(this TypeDefinition type, SearchParams parms, ScoringModel score) { - if (parms.MatchNestedTypes.Count == 0 && parms.IgnoreNestedTypes.Count == 0) + if (parms.MatchNestedTypes.Count is 0 && parms.IgnoreNestedTypes.Count is 0) { return EMatchResult.Disabled; }