NAnt SDK Documentation - v0.85-nightly-2005-11-09

CscTask.Unsafe Property

[This is preliminary documentation and subject to change.]

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

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

Remarks

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

See Also

CscTask Class | NAnt.DotNet.Tasks Namespace