fixes and removed unused code

This commit is contained in:
bird_egop
2025-04-16 19:07:32 +03:00
parent 9ddaa02471
commit 9445fb225f
15 changed files with 66 additions and 141 deletions
+1 -12
View File
@@ -11,21 +11,10 @@ public abstract class Operand
public OperandType Type { get; protected set; }
/// <summary>
/// Gets the size of the operand in bits (8, 16, 32)
/// Gets or sets the size of the operand in bits (8, 16, 32)
/// </summary>
public int Size { get; protected set; }
/// <summary>
/// Sets the size of the operand in bits
/// </summary>
/// <param name="size">The new size in bits (8, 16, 32, or 64)</param>
/// <returns>The operand instance for method chaining</returns>
public virtual Operand WithSize(int size)
{
Size = size;
return this;
}
/// <summary>
/// Returns a string representation of this operand
/// </summary>