Checked Property

NAnt SDK Documentation - v0.92 |

# CscTask.Checked Property

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.

[Visual Basic]
<TaskAttribute(Name:="checked", Required:=False, ExpandProperties:=True, ProcessXml:=True), _ BooleanValidator>
Public Property Checked As Boolean
[C#]
[TaskAttribute(Name="checked", Required=False, ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool Checked {get; set;}

#### Remarks

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

#### See Also

CscTask Class | NAnt.DotNet.Tasks Namespace