<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0-preview.4.25258.110" />

ExceptionPolyfills

static class ExceptionPolyfills
using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; namespace System { internal static class ExceptionPolyfills { public sealed class <>E__0 { public static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNull] object argument, [System.Runtime.CompilerServices.CallerArgumentExpression("argument")] string paramName = null) { throw null; } } public static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNull] object argument, [System.Runtime.CompilerServices.CallerArgumentExpression("argument")] string paramName = null) { if (argument == null) ThrowArgumentNullException(paramName); } [System.Diagnostics.CodeAnalysis.DoesNotReturn] private static void ThrowArgumentNullException(string paramName) { throw new ArgumentNullException(paramName); } } }