JscTask.

VersionSafe Property

Summary

Causes the compiler to generate errors for implicit method overrides. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
JscTask

Syntax

[TaskAttribute("versionsafe")]
[BooleanValidator()]
public bool VersionSafe { get; set; }

Remarks

Corresponds with the /versionsafe 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