<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />

ValidationUtils

static class ValidationUtils
using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; namespace Newtonsoft.Json.Utilities { internal static class ValidationUtils { [System.Runtime.CompilerServices.NullableContext(1)] public static void ArgumentNotNull([System.Runtime.CompilerServices.Nullable(2)] [System.Diagnostics.CodeAnalysis.NotNull] object value, string parameterName) { if (value == null) throw new ArgumentNullException(parameterName); } } }