public object InvokeExpression(int expressionId, System.Collections.Generic.IList<System.Activities.LocationReference> locations, System.Activities.ActivityContext activityContext) {
     if ((this.rootActivity == null)) {
         this.rootActivity = this;
     }
     if ((this.dataContextActivities == null)) {
         this.dataContextActivities = solving_TypedDataContext3_ForReadOnly.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation);
     }
     if ((expressionId == 0)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[0] == null)) {
             cachedCompiledDataContext[0] = new solving_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         solving_TypedDataContext3_ForReadOnly valDataContext0 = ((solving_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[0]));
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[1] == null)) {
             cachedCompiledDataContext[1] = new solving_TypedDataContext3(locations, activityContext, true);
         }
         solving_TypedDataContext3 refDataContext1 = ((solving_TypedDataContext3)(cachedCompiledDataContext[1]));
         return refDataContext1.GetLocation<object>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 2)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[0] == null)) {
             cachedCompiledDataContext[0] = new solving_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         solving_TypedDataContext3_ForReadOnly valDataContext2 = ((solving_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[0]));
         return valDataContext2.ValueType___Expr2Get();
     }
     if ((expressionId == 3)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[1] == null)) {
             cachedCompiledDataContext[1] = new solving_TypedDataContext3(locations, activityContext, true);
         }
         solving_TypedDataContext3 refDataContext3 = ((solving_TypedDataContext3)(cachedCompiledDataContext[1]));
         return refDataContext3.GetLocation<string>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 4)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[2] == null)) {
             cachedCompiledDataContext[2] = new solving_TypedDataContext4_ForReadOnly(locations, activityContext, true);
         }
         solving_TypedDataContext4_ForReadOnly valDataContext4 = ((solving_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[2]));
         return valDataContext4.ValueType___Expr4Get();
     }
     if ((expressionId == 5)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = solving_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 4);
         if ((cachedCompiledDataContext[3] == null)) {
             cachedCompiledDataContext[3] = new solving_TypedDataContext4(locations, activityContext, true);
         }
         solving_TypedDataContext4 refDataContext5 = ((solving_TypedDataContext4)(cachedCompiledDataContext[3]));
         return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set, expressionId, this.rootActivity, activityContext);
     }
     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)) {
         solving_TypedDataContext3_ForReadOnly valDataContext0 = new solving_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         solving_TypedDataContext3 refDataContext1 = new solving_TypedDataContext3(locations, true);
         return refDataContext1.GetLocation<object>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set);
     }
     if ((expressionId == 2)) {
         solving_TypedDataContext3_ForReadOnly valDataContext2 = new solving_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext2.ValueType___Expr2Get();
     }
     if ((expressionId == 3)) {
         solving_TypedDataContext3 refDataContext3 = new solving_TypedDataContext3(locations, true);
         return refDataContext3.GetLocation<string>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set);
     }
     if ((expressionId == 4)) {
         solving_TypedDataContext4_ForReadOnly valDataContext4 = new solving_TypedDataContext4_ForReadOnly(locations, true);
         return valDataContext4.ValueType___Expr4Get();
     }
     if ((expressionId == 5)) {
         solving_TypedDataContext4 refDataContext5 = new solving_TypedDataContext4(locations, true);
         return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set);
     }
     return null;
 }