Skip to content

Commit 18053e9

Browse files
Merge branch 'support-static-delegate-types' of https://github.com/almostchristian/serilog-settings-configuration into support-static-delegate-types
2 parents 1b8b31a + 1cb5b7f commit 18053e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Settings.Configuration/Settings/Configuration/StringArgumentValue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public object ConvertTo(Type toType, ResolutionContext resolutionContext)
8282
.Where(x => x.IsStatic)
8383
.ToList();
8484

85-
if (methodCandidates.Count > 1 && typeof(Delegate).IsAssignableFrom(toType))
85+
if (methodCandidates.Count > 1)
8686
{
8787
// filter possible method overloads
8888

0 commit comments

Comments
 (0)