Skip to content

Commit

Permalink
Made OPerand into record.
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Leitch committed Jul 19, 2024
1 parent 472274d commit e9172fa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Reemit.Decompiler.Clr/Disassembler/Operand.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
namespace Reemit.Decompiler.Clr.Disassembler;

public class Operand(OperandType operandType, IReadOnlyCollection<byte> operandValue)
public record Operand(OperandType OperandType, IReadOnlyCollection<byte> OperandValue)
{
public static readonly Operand None = new(OperandType.None, Array.Empty<byte>());

public OperandType OperandType { get; } = operandType;

public IReadOnlyCollection<byte> OperandValue { get; } = operandValue;
}

0 comments on commit e9172fa

Please # to comment.