Allow methods with dotted notation to be processed
This commit is contained in:
parent
b2d90365b2
commit
2ea961ee5b
@ -19,7 +19,7 @@ internal static class Methods
|
|||||||
if (parms.IncludeMethods is null || parms.IncludeMethods.Count == 0) return EMatchResult.Disabled;
|
if (parms.IncludeMethods is null || parms.IncludeMethods.Count == 0) return EMatchResult.Disabled;
|
||||||
|
|
||||||
var matches = type.Methods
|
var matches = type.Methods
|
||||||
.Where(method => parms.IncludeMethods.Contains(method.Name))
|
.Where(method => parms.IncludeMethods.Any(include => method.Name.Contains(include)))
|
||||||
.Count();
|
.Count();
|
||||||
|
|
||||||
score.Score += matches;
|
score.Score += matches;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user