File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Serilog.Settings.Configuration/Settings/Configuration Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments