Fix build

I like how finally I'm getting notified about potential warnings, if only I could hook ReSharper there...
This commit is contained in:
JustArchi
2017-12-09 23:21:27 +01:00
parent 5235339fbb
commit 35e75cbc1c

View File

@@ -517,8 +517,10 @@ namespace ArchiSteamFarm {
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
private sealed class BotRequest {
#pragma warning disable 649
[JsonProperty(Required = Required.Always)]
internal readonly BotConfig BotConfig;
#pragma warning restore 649
[JsonProperty(Required = Required.DisallowNull)]
internal readonly bool KeepSensitiveDetails = true;