Open sandboxFocus

Property IsVirtual

IsVirtual

Gets or sets a value indicating whether the introduced member should be virtual.

Declaration
public bool IsVirtual { get; set; }
Property Value
Type Description
bool
Remarks

When a method with the same signature is already declared in the aspect target type, and this property is set, its value must match whether the existing method is virtual and not sealed; otherwise, the build fails with error LA0071. When the method is inherited from a base type, the value of this property is ignored.