File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Serilog.Settings.Configuration/Settings/Configuration Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -351,8 +351,7 @@ internal static MethodInfo SelectConfigurationMethod(IEnumerable<MethodInfo> can
351
351
. All ( p => p . HasDefaultValue || suppliedArgumentValues . Any ( s => s . Key . Equals ( p . Name , StringComparison . OrdinalIgnoreCase ) ) ) )
352
352
. OrderByDescending ( m =>
353
353
{
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 ( ) ;
356
355
357
356
// Prefer the configuration method with most number of matching arguments and of those the ones with
358
357
// 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