Example #1
0
 public VariableFlags VariableDeclaration(
     IForeachExpression foreachExpression,
     VariableFlags liveVariables)
 {
     SetLiveness(foreachExpression.Symbol, foreachExpression.VariableIsLiveAfterAssignment, liveVariables);
     return(liveVariables.Set(foreachExpression.Symbol, false));
 }
 public VariableFlags VariableDeclaration(
     IForeachExpression foreachExpression,
     VariableFlags possiblyMoved)
 {
     // No affect on state since it should already be false
     return(possiblyMoved);
 }
 public VariableFlags VariableDeclaration(
     IForeachExpression foreachExpression,
     VariableFlags definitelyUnassigned)
 {
     return(definitelyUnassigned.Set(foreachExpression.Symbol, false));
 }