private IsPostfix ( IBinaryOperation binaryOperation ) : bool | ||
binaryOperation | IBinaryOperation | |
Résultat | bool |
private bool IsPostfix(IBinaryOperation binaryOperation) {
return binaryOperation.LeftOperand is ITargetExpression && ExpressionHelper.IsIntegralOne(binaryOperation.RightOperand) && binaryOperation.ResultIsUnmodifiedLeftOperand;
}