次のエラーが表示されます。
An unhandled exception of type 'System.StackOverflowException'
occurred in ciscontrols.dll
関連するコードは次のとおりです。
private int Dval;
public int DecPlaces
{
get { return Dval; }
set
{
DecPlaces = value;
if (value < 2)
{
throw new ArgumentOutOfRangeException("decplaces", "decimal places minimum value should be 2.");
}
else this.Dval = value;
}
}