예제 #1
0
        public override void VisitIncrementOrDecrementExpression(IIncrementOrDecrementExpression operation)
        {
            var operatorMethod = operation.OperatorMethod;
            var isPostFix      = operation.IsPostfix;

            base.VisitIncrementOrDecrementExpression(operation);
        }
예제 #2
0
 public virtual void VisitIncrementOrDecrementExpression(IIncrementOrDecrementExpression operation)
 {
     DefaultVisit(operation);
 }
예제 #3
0
        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));
        }