Initializes a new instance of the Operand class.
Namespace: SharpAssembler.x86.OperandsAssembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected Operand( DataSize preferredSize ) |
Visual Basic |
---|
Protected Sub New ( _ preferredSize As DataSize _ ) |
Visual C++ |
---|
protected: Operand( DataSize preferredSize ) |
Parameters
- preferredSize
- Type: SharpAssembler.Core..::..DataSize
The preferred size of the operand.
Exceptions
Exception | Condition |
---|---|
System.ComponentModel..::..InvalidEnumArgumentException | !(Enum.IsDefined(typeof(DataSize), preferredSize)) |
Contracts
Requires |
---|
Enum.IsDefined(typeof(DataSize), preferredSize) |