NAnt SDK Documentation - v0.92

CscTask.Unsafe Property

Instructs the compiler to allow code that uses the unsafe keyword. The default is false.

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

Remarks

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

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace