DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="3.2.1" />

.NET API 366,080 bytes

 GenericArgumentException

The exception that is thrown when one of the generic arguments provided to a type is not valid.
using System; using System.Runtime.CompilerServices; namespace DotNext { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class GenericArgumentException : ArgumentException { public Type Argument { get; } public GenericArgumentException(Type genericParam, string message, [System.Runtime.CompilerServices.Nullable(2)] string paramName = null) : base(message, string.IsNullOrEmpty(paramName) ? genericParam.FullName : paramName) { Argument = genericParam; } } }