Class VirtualizeCodeAttribute
Instructs ArmDot to virtualize a method.
Inherited Members
Namespace: ArmDot.Client
Assembly: ArmDot.Client.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Interface)]
public class VirtualizeCodeAttribute : Attribute
Constructors
VirtualizeCodeAttribute()
Instructs ArmDot to virtualize a method.
Declaration
public VirtualizeCodeAttribute()
Properties
Enable
If Enable
is false, VirtualizeCodeAttribute
is not applied.
The default value is true.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Inherit
If Inherit
is true, and VirtualizeCodeAttribute
is applied to an assembly, ArmDot virtualizes the code of all methods of the assembly.
If Inherit
is true, and VirtualizeCodeAttribute
is applied to a type, ArmDot virtualizes code of the methods of the type, and of the nested types.
The default value is true.
Declaration
public bool Inherit { get; set; }
Property Value
Type | Description |
---|---|
bool |