From 2ea961ee5bb8363cd5612ab488d07b1e2c8620b5 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:47:17 -0400 Subject: [PATCH] Allow methods with dotted notation to be processed --- AssemblyRemapper/Remapper/Search/Methods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AssemblyRemapper/Remapper/Search/Methods.cs b/AssemblyRemapper/Remapper/Search/Methods.cs index 56295a7..45ac3ac 100644 --- a/AssemblyRemapper/Remapper/Search/Methods.cs +++ b/AssemblyRemapper/Remapper/Search/Methods.cs @@ -19,7 +19,7 @@ internal static class Methods if (parms.IncludeMethods is null || parms.IncludeMethods.Count == 0) return EMatchResult.Disabled; var matches = type.Methods - .Where(method => parms.IncludeMethods.Contains(method.Name)) + .Where(method => parms.IncludeMethods.Any(include => method.Name.Contains(include))) .Count(); score.Score += matches;