public override bool Visit(ICreateInstanceExpression expression, object context)
 {
     _stack.Push(expression);
     try
     {
         return(base.Visit(expression, context));
     }
     finally
     {
         _stack.Pop();
     }
 }
Example #2
0
 public abstract IExpression Transform(ICreateInstanceExpression expression);
Example #3
0
 void IExpressionVisitor.Visit(ICreateInstanceExpression expression)
 {
     this.Translate(expression);
 }
Example #4
0
 TransformationImpact IExpressionVisitor <TransformationImpact> .Visit(ICreateInstanceExpression expression)
 {
     return(CalculateRefactorImpact(expression));
 }
Example #5
0
 public TestLinkerResult Visit(ICreateInstanceExpression expression, ICompilationContext context)
 {
     throw new NotImplementedException();
 }
Example #6
0
 public abstract TransformationImpact CalculateRefactorImpact(ICreateInstanceExpression expression);
Example #7
0
 public abstract void Translate(ICreateInstanceExpression expression);
Example #8
0
 public TransformationKind Visit(ICreateInstanceExpression expression, ITransformationContext context)
 {
     throw new NotImplementedException();
 }