public override void VisitIncrementOrDecrementExpression(IIncrementOrDecrementExpression operation) { var operatorMethod = operation.OperatorMethod; var isPostFix = operation.IsPostfix; base.VisitIncrementOrDecrementExpression(operation); }
public virtual void VisitIncrementOrDecrementExpression(IIncrementOrDecrementExpression operation) { DefaultVisit(operation); }
public override IOperation VisitIncrementOrDecrementExpression(IIncrementOrDecrementExpression operation, object argument) { bool isDecrement = operation.Kind == OperationKind.DecrementExpression; return(new IncrementExpression(isDecrement, operation.IsPostfix, operation.IsLifted, operation.IsChecked, Visit(operation.Target), operation.UsesOperatorMethod, operation.OperatorMethod, ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit)); }