ExceptionPolyfills
Provides downlevel polyfills for static methods on Exception-derived types.
                using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace System
{
    internal static class ExceptionPolyfills
    {
        [System.Runtime.CompilerServices.NullableContext(2)]
        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);
        }
    }
}