private RequireType ( ScriptOperandType type ) : void | ||
type | ScriptOperandType | |
return | void |
void RequireType(ScriptOperandType type)
{
if (Type != type) throw new InvalidOperationException("This is not a " + type + " " + typeof(ScriptOperand).Name + "; it is a " + Type + ".");
}