Skip to content

Commit

Permalink
Fix missing name filtering with additional methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Donn Relacion committed Jul 4, 2022
1 parent fdfe28a commit 9cd216f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected void CallConfigurationMethods(
var (methodFilter, candidateNames) = methodFilterFactory(method.Key);
IEnumerable<MethodInfo> configurationMethods = resolutionContext
.FindConfigurationExtensionMethods(method.Key, extensionArgumentType, typeArgs, candidateNames, methodFilter);
configurationMethods = configurationMethods.Union(additionalMethods.Where(m => methodFilter(m, method.Key))).ToList();
configurationMethods = configurationMethods.Union(additionalMethods.Where(m => candidateNames.Contains(m.Name) && methodFilter(m, method.Key))).ToList();
var suppliedArgumentNames = paramArgs.Keys;

var isCollection = suppliedArgumentNames.IsArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>0.9.6</Version>
<Version>0.9.7</Version>
<FileVersion>$(Version).$([System.DateTime]::Now.ToString(yy))$([System.DateTime]::Now.DayOfYear.ToString(000))</FileVersion>
<PackageVersion>$(Version)</PackageVersion>
<InformationalVersion>$(FileVersion)-$(GIT_VERSION)</InformationalVersion>
Expand Down

0 comments on commit 9cd216f

Please sign in to comment.