Skip to content

Commit da8a883

Browse files
committed
fixes typo
1 parent cdbc7c3 commit da8a883

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ internal static MethodInfo SelectConfigurationMethod(IEnumerable<MethodInfo> can
351351
.All(p => p.HasDefaultValue || suppliedArgumentValues.Any(s => s.Key.Equals(p.Name, StringComparison.OrdinalIgnoreCase))))
352352
.OrderByDescending(m =>
353353
{
354-
var matchingArgs = m.GetParameters().Where(p => suppliedArgumentValues.Any(s => s.Key.Equals(p.Name, StringComparison.OrdinalIgnoreCase)))).ToList();
354+
var matchingArgs = m.GetParameters().Where(p => suppliedArgumentValues.Any(s => s.Key.Equals(p.Name, StringComparison.OrdinalIgnoreCase)))
355+
do.ToList();
355356

356357
// Prefer the configuration method with most number of matching arguments and of those the ones with
357358
// the most string type parameters to predict best match with least type casting

0 commit comments

Comments
 (0)