From 7cfc2d4aa353494e6e174b7a50c148cd844c9be2 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Wed, 12 Jun 2024 22:34:33 -0400 Subject: [PATCH] Prefer `is` --- AssemblyRemapper/Reflection/SearchExtentions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }