diff --git a/Program.cs b/Program.cs index 4a0d575..846ab2a 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,7 @@ namespace BunyMuny { /// The CSV file to read /// The JSON file to use for rules when parsing statement descriptions /// - static int Main(string file = "test.csv", string ruleFile = "rules.json") { + private static int Main(string file = "test.csv", string ruleFile = "rules.json") { var bank = Bank.Other; var statements = new List(); List rules; diff --git a/Statement.cs b/Statement.cs index a741658..cdddb0e 100644 --- a/Statement.cs +++ b/Statement.cs @@ -7,7 +7,7 @@ namespace BunyMuny { private string _description; public string Description { get => string.IsNullOrWhiteSpace(_description) ? OriginalDescription : _description; - set { _description = value; } + set => _description = value; } public string OriginalDescription;