We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e7349 commit f89fa99Copy full SHA for f89fa99
src/Serilog.Settings.Configuration/Settings/Configuration/StringArgumentValue.cs
@@ -56,7 +56,7 @@ public object ConvertTo(Type toType)
56
57
if (toTypeInfo.IsInterface && !string.IsNullOrWhiteSpace(argumentValue))
58
{
59
- var type = Type.GetType(argumentValue.Trim(), throwOnError: false);
+ var type = Type.GetType(argumentValue.Trim());
60
if (type != null)
61
62
var ctor = type.GetTypeInfo().DeclaredConstructors.FirstOrDefault(ci =>
0 commit comments