Skip to content

Commit 578cfc1

Browse files
committed
fixe typo
1 parent da8a883 commit 578cfc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,7 @@ 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)))
355-
do.ToList();
354+
var matchingArgs = m.GetParameters().Where(p => suppliedArgumentValues.Any(s => s.Key.Equals(p.Name, StringComparison.OrdinalIgnoreCase))).ToList();
356355

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

0 commit comments

Comments
 (0)