Suppress warnings
This commit is contained in:
parent
47968304c9
commit
357b220ace
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
@ -68,8 +69,9 @@ namespace LibationAvalonia
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception exDebug)
|
||||
{
|
||||
Serilog.Log.Logger.Debug(exDebug, "Silent failure");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@ using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace AccountsTests
|
||||
{
|
||||
#pragma warning disable CS8981 // The type name only contains lower-cased ascii characters. Such names may become reserved for the language.
|
||||
public class AccountsTestBase
|
||||
{
|
||||
protected string EMPTY_FILE { get; } = "{\r\n \"Accounts\": []\r\n}".Replace("\r\n", Environment.NewLine);
|
||||
@ -590,4 +591,5 @@ namespace AccountsTests
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore CS8981
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user