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
|
dotnet_diagnostic.ca1031.severity = silent
|
||||||
|
|
||||||
# TODO - one at a time
|
# TODO - one at a time
|
||||||
dotnet_diagnostic.ca1044.severity = silent
|
|
||||||
dotnet_diagnostic.ca1054.severity = silent
|
dotnet_diagnostic.ca1054.severity = silent
|
||||||
dotnet_diagnostic.ca1062.severity = silent
|
dotnet_diagnostic.ca1062.severity = silent
|
||||||
dotnet_diagnostic.ca1063.severity = silent
|
dotnet_diagnostic.ca1063.severity = silent
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
[JsonProperty]
|
[JsonProperty]
|
||||||
public string? SteamLogin {
|
public string? SteamLogin {
|
||||||
internal get => BackingSteamLogin;
|
get => BackingSteamLogin;
|
||||||
|
|
||||||
set {
|
set {
|
||||||
IsSteamLoginSet = true;
|
IsSteamLoginSet = true;
|
||||||
@@ -218,7 +218,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
[JsonProperty]
|
[JsonProperty]
|
||||||
public string? SteamParentalCode {
|
public string? SteamParentalCode {
|
||||||
internal get => BackingSteamParentalCode;
|
get => BackingSteamParentalCode;
|
||||||
|
|
||||||
set {
|
set {
|
||||||
IsSteamParentalCodeSet = true;
|
IsSteamParentalCodeSet = true;
|
||||||
@@ -228,7 +228,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
[JsonProperty]
|
[JsonProperty]
|
||||||
public string? SteamPassword {
|
public string? SteamPassword {
|
||||||
internal get => BackingSteamPassword;
|
get => BackingSteamPassword;
|
||||||
|
|
||||||
set {
|
set {
|
||||||
IsSteamPasswordSet = true;
|
IsSteamPasswordSet = true;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ using System.Collections.Generic;
|
|||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using System.Linq;
|
||||||
using ArchiSteamFarm.Localization;
|
using ArchiSteamFarm.Localization;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
@@ -53,6 +54,7 @@ namespace ArchiSteamFarm.IPC.Requests {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty(PropertyName = SharedInfo.UlongCompatibilityStringPrefix + nameof(AcceptedCreatorIDs), Required = Required.DisallowNull)]
|
[JsonProperty(PropertyName = SharedInfo.UlongCompatibilityStringPrefix + nameof(AcceptedCreatorIDs), Required = Required.DisallowNull)]
|
||||||
public ImmutableHashSet<string> SAcceptedCreatorIDs {
|
public ImmutableHashSet<string> SAcceptedCreatorIDs {
|
||||||
|
get => AcceptedCreatorIDs.Select(creatorID => creatorID.ToString(CultureInfo.InvariantCulture)).ToImmutableHashSet();
|
||||||
set {
|
set {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new ArgumentNullException(nameof(value));
|
throw new ArgumentNullException(nameof(value));
|
||||||
|
|||||||
Reference in New Issue
Block a user