// dnlib: See LICENSE.txt for more info
using System;
namespace dnlib.DotNet {
///
/// Generic parameter flags. See CorHdr.h/CorGenericParamAttr
///
[Flags]
public enum GenericParamAttributes : ushort {
///
VarianceMask = 0x0003,
///
NonVariant = 0x0000,
///
Covariant = 0x0001,
///
Contravariant = 0x0002,
///
SpecialConstraintMask = 0x001C,
///
NoSpecialConstraint = 0x0000,
/// type argument must be a reference type
ReferenceTypeConstraint = 0x0004,
/// type argument must be a value type but not Nullable
NotNullableValueTypeConstraint = 0x0008,
/// type argument must have a public default constructor
DefaultConstructorConstraint = 0x0010,
}
}