public object InvokeExpression(int expressionId, System.Collections.Generic.IList<System.Activities.Location> locations) {
     if ((this.rootActivity == null)) {
         this.rootActivity = this;
     }
     if ((expressionId == 0)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext0 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         Workflow_TypedDataContext2 refDataContext1 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext1.GetLocation<int>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set);
     }
     return null;
 }
 public object InvokeExpression(int expressionId, System.Collections.Generic.IList<System.Activities.Location> locations) {
     if ((this.rootActivity == null)) {
         this.rootActivity = this;
     }
     if ((expressionId == 0)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext0 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         Workflow_TypedDataContext2 refDataContext1 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext1.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set);
     }
     if ((expressionId == 2)) {
         Workflow_TypedDataContext2 refDataContext2 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext2.GetLocation<System.DateTime>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set);
     }
     if ((expressionId == 3)) {
         Workflow_TypedDataContext2 refDataContext3 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext3.GetLocation<string>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set);
     }
     if ((expressionId == 4)) {
         Workflow_TypedDataContext2 refDataContext4 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext4.GetLocation<int>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set);
     }
     if ((expressionId == 5)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext5 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext5.ValueType___Expr5Get();
     }
     if ((expressionId == 6)) {
         Workflow_TypedDataContext2 refDataContext6 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext6.GetLocation<string>(refDataContext6.ValueType___Expr6Get, refDataContext6.ValueType___Expr6Set);
     }
     if ((expressionId == 7)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext7 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext7.ValueType___Expr7Get();
     }
     if ((expressionId == 8)) {
         Workflow_TypedDataContext2 refDataContext8 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext8.GetLocation<System.Collections.ObjectModel.Collection<string>>(refDataContext8.ValueType___Expr8Get, refDataContext8.ValueType___Expr8Set);
     }
     if ((expressionId == 9)) {
         Workflow_TypedDataContext2 refDataContext9 = new Workflow_TypedDataContext2(locations, true);
         return refDataContext9.GetLocation<string>(refDataContext9.ValueType___Expr9Get, refDataContext9.ValueType___Expr9Set);
     }
     if ((expressionId == 10)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext10 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext10.ValueType___Expr10Get();
     }
     if ((expressionId == 11)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext11 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext11.ValueType___Expr11Get();
     }
     if ((expressionId == 12)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext12 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext12.ValueType___Expr12Get();
     }
     if ((expressionId == 13)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext13 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext13.ValueType___Expr13Get();
     }
     if ((expressionId == 14)) {
         Workflow_TypedDataContext2_ForReadOnly valDataContext14 = new Workflow_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext14.ValueType___Expr14Get();
     }
     return null;
 }