CscTask.

Checked Property

Summary

Specifies whether an integer arithmetic statement that is not in the scope of the checked or unchecked keywords and that results in a value outside the range of the data type should cause a run-time exception. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CscTask

Syntax

[TaskAttribute("checked")]
[BooleanValidator()]
public bool Checked { get; set; }

Remarks

Corresponds with the /checked[+|-] flag.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool