CscTask.

Unsafe Property

Summary

Instructs the compiler to allow code that uses the unsafe keyword. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CscTask

Syntax

[TaskAttribute("unsafe")]
[BooleanValidator()]
public bool Unsafe { get; set; }

Remarks

Corresponds with the /unsafe[+|-] 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