NAnt SDK Documentation - v0.92

VjcTask.SecureScoping Property

Specifies whether package-scoped members are accessible outside of the assembly. In other words, package scope is treated as assembly scope when emitting metadata. The default is false.

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

Property Value

true if the option should be passed to the compiler; otherwise, false.

Remarks

Corresponds to the /securescoping flag.

See the Visual J# Reference for details.

Example

<vjc securescoping='true'/>

See Also

VjcTask Class | NAnt.DotNet.Tasks Namespace