mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
31 lines
No EOL
693 B
C#
31 lines
No EOL
693 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace EcmaCil.IL
|
|
{
|
|
public abstract class BaseInstruction
|
|
{
|
|
protected BaseInstruction(InstructionKindEnum aInstructionKind, int aInstructionIndex)
|
|
{
|
|
mInstructionKind = aInstructionKind;
|
|
InstructionIndex = aInstructionIndex;
|
|
}
|
|
private readonly InstructionKindEnum mInstructionKind;
|
|
|
|
public InstructionKindEnum InstructionKind
|
|
{
|
|
get
|
|
{
|
|
return mInstructionKind;
|
|
}
|
|
}
|
|
|
|
public int InstructionIndex
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |