DotNext by Roman Sakno

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

 GenericArgumentException

The exception that is thrown when one of the generic arguments provided to a type is not valid.
using System; namespace DotNext { public class GenericArgumentException : ArgumentException { public Type Argument { get; } public GenericArgumentException(Type genericParam, string message, string paramName = "") : base(message, paramName) { Argument = genericParam; } } }