Resolve CA1812

This commit is contained in:
JustArchi
2021-05-07 18:02:21 +02:00
parent 804008a5d1
commit 4a91b997a2
3 changed files with 4 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ namespace ArchiSteamFarm.CustomPlugins.ExamplePlugin {
return Uri.EscapeUriString(response.Content!.Link!);
}
#pragma warning disable CA1812 // False positive
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
private sealed class MeowResponse {
[JsonProperty(PropertyName = "file", Required = Required.Always)]
@@ -60,5 +61,6 @@ namespace ArchiSteamFarm.CustomPlugins.ExamplePlugin {
[JsonConstructor]
private MeowResponse() { }
}
#pragma warning restore CA1812 // False positive
}
}