IntConst
Represents Int32 constant as type.
namespace DotNext.Generic
{
public abstract class IntConst : Constant<int>
{
public sealed class Zero : IntConst
{
public const int Value = 0;
public Zero()
: base(0)
{
}
}
public sealed class Max : IntConst
{
public const int Value = int.MaxValue;
public Max()
: base(2147483647)
{
}
}
public sealed class Min : IntConst
{
public const int Value = int.MinValue;
public Min()
: base(-2147483648)
{
}
}
protected IntConst(int value)
: base(value)
{
}
}
}