.NET API 492,440 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
{
[
NullableContext(
1)]
[
Nullable(
0)]
public class GenericArgumentException :
ArgumentException
{
[
CompilerGenerated]
private Type <genericParam>P =
genericParam;
public Type Argument { get; }
public GenericArgumentException(
Type genericParam,
string message, [
Nullable(
2)]
string paramName =
null)
:
base(
message, (
paramName !=
null &&
paramName.
Length >
0) ?
paramName :
<genericParam>P.
FullName)
{
}
}
}