mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-15 16:10:41 +00:00
Round 2 of nullable checks
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
@@ -59,9 +60,7 @@ namespace ArchiSteamFarm.IPC.Requests {
|
||||
public ImmutableHashSet<string> SAcceptedCreatorIDs {
|
||||
set {
|
||||
if (value == null) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(value));
|
||||
|
||||
return;
|
||||
throw new ArgumentNullException(nameof(value));
|
||||
}
|
||||
|
||||
HashSet<ulong> acceptedCreatorIDs = new HashSet<ulong>(value.Count);
|
||||
|
||||
Reference in New Issue
Block a user