Abstract class should not have public constructor.
MODIFY
WalletWasabi/Bases/ConfigBase.cs
WalletWasabi/Bases/ConfigBase.cs
@@ -16,13 +16,13 @@ namespace WalletWasabi.Bases
/// <inheritdoc />
public string FilePath { get; private set; } = null;
- public ConfigBase()
+ protected ConfigBase(string filePath)
{
+ SetFilePath(filePath);
}
- public ConfigBase(string filePath)
+ protected ConfigBase()
{
- SetFilePath(filePath);
}
/// <inheritdoc />

Abstract class should not have public constructor.