public object InvokeExpression(int expressionId, System.Collections.Generic.IList<System.Activities.Location> locations) {
     if ((this.rootActivity == null)) {
         this.rootActivity = this;
     }
     if ((expressionId == 0)) {
         PowershellSample_TypedDataContext2 refDataContext0 = new PowershellSample_TypedDataContext2(locations, true);
         return refDataContext0.GetLocation<bool>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set);
     }
     if ((expressionId == 1)) {
         PowershellSample_TypedDataContext2_ForReadOnly valDataContext1 = new PowershellSample_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext1.ValueType___Expr1Get();
     }
     if ((expressionId == 2)) {
         PowershellSample_TypedDataContext2_ForReadOnly valDataContext2 = new PowershellSample_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext2.ValueType___Expr2Get();
     }
     return null;
 }