IlasmTask.

Flags Property

Summary

Instructs the compiler to set the Flags value in the CLR header.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
IlasmTask

Syntax

[TaskAttribute("flags")]
[Int32Validator()]
public int Flags { get; set; }

Remarks

Corresponds to the /FLAGS flag.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
Int32ValidatorAttribute Indicates that property should be able to be converted into a int within the given range.

Value

Type Description
int An int that represents the Flags value to set in the CLR header. The most frequently value are 1 (pre-IL code) and 2 (mixed code). The third bit indicating that the PE file is strong signed, is ignored.