mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Resolve CA1044
This commit is contained in:
@@ -111,7 +111,6 @@ dotnet_diagnostic.ca1028.severity = silent
|
||||
dotnet_diagnostic.ca1031.severity = silent
|
||||
|
||||
# TODO - one at a time
|
||||
dotnet_diagnostic.ca1044.severity = silent
|
||||
dotnet_diagnostic.ca1054.severity = silent
|
||||
dotnet_diagnostic.ca1062.severity = silent
|
||||
dotnet_diagnostic.ca1063.severity = silent
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty]
|
||||
public string? SteamLogin {
|
||||
internal get => BackingSteamLogin;
|
||||
get => BackingSteamLogin;
|
||||
|
||||
set {
|
||||
IsSteamLoginSet = true;
|
||||
@@ -218,7 +218,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty]
|
||||
public string? SteamParentalCode {
|
||||
internal get => BackingSteamParentalCode;
|
||||
get => BackingSteamParentalCode;
|
||||
|
||||
set {
|
||||
IsSteamParentalCodeSet = true;
|
||||
@@ -228,7 +228,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty]
|
||||
public string? SteamPassword {
|
||||
internal get => BackingSteamPassword;
|
||||
get => BackingSteamPassword;
|
||||
|
||||
set {
|
||||
IsSteamPasswordSet = true;
|
||||
|
||||
@@ -24,6 +24,7 @@ using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using ArchiSteamFarm.Localization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
@@ -53,6 +54,7 @@ namespace ArchiSteamFarm.IPC.Requests {
|
||||
/// </summary>
|
||||
[JsonProperty(PropertyName = SharedInfo.UlongCompatibilityStringPrefix + nameof(AcceptedCreatorIDs), Required = Required.DisallowNull)]
|
||||
public ImmutableHashSet<string> SAcceptedCreatorIDs {
|
||||
get => AcceptedCreatorIDs.Select(creatorID => creatorID.ToString(CultureInfo.InvariantCulture)).ToImmutableHashSet();
|
||||
set {
|
||||
if (value == null) {
|
||||
throw new ArgumentNullException(nameof(value));
|
||||
|
||||
Reference in New Issue
Block a user