Allow methods with dotted notation to be processed

This commit is contained in:
Cj 2024-06-14 14:47:17 -04:00
parent b2d90365b2
commit 2ea961ee5b

View File

@ -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;