Interface IPurityClassifier<TInstruction>
Provides members for describing the purity of instructions.
public interface IPurityClassifier<TInstruction> where TInstruction : notnull
Type Parameters
TInstructionThe type of instructions.
Methods
IsPure(in TInstruction)
Gets a value indicating whether a particular instruction is considered pure, that is, has no side effects.
Trilean IsPure(in TInstruction instruction)
Parameters
instructionTInstructionThe instruction to classify.