Exemplo n.º 1
0
 public override BoundNode VisitIfStatement(BoundIfStatement node)
 {
     Fail(node);
     return(null);
 }
Exemplo n.º 2
0
 public virtual BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten)
 {
     Debug.Assert(original.Syntax.Kind() == SyntaxKind.IfStatement);
     return(InstrumentStatement(original, rewritten));
 }
Exemplo n.º 3
0
 public override BoundExpression InstrumentIfStatementCondition(BoundIfStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
 {
     // EnC: We need to insert a hidden sequence point to handle function remapping in case
     // the containing method is edited while methods invoked in the condition are being executed.
     return(AddConditionSequencePoint(base.InstrumentIfStatementCondition(original, rewrittenCondition, factory), original.Syntax, factory));
 }
 public override BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten)
 {
     return(AddDynamicAnalysis(original, base.InstrumentIfStatement(original, rewritten)));
 }
Exemplo n.º 5
0
 public override BoundExpression InstrumentIfStatementCondition(BoundIfStatement original, BoundExpression rewrittenCondition, SyntheticBoundNodeFactory factory)
 {
     return(Previous.InstrumentIfStatementCondition(original, rewrittenCondition, factory));
 }
Exemplo n.º 6
0
 public override BoundStatement InstrumentIfStatement(BoundIfStatement original, BoundStatement rewritten)
 {
     return(Previous.InstrumentIfStatement(original, rewritten));
 }