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 = decompose_TypedDataContext2_ForReadOnly.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation);
     }
     if ((expressionId == 0)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[0] == null)) {
             cachedCompiledDataContext[0] = new decompose_TypedDataContext2_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext2_ForReadOnly valDataContext0 = ((decompose_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[0]));
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[1] == null)) {
             cachedCompiledDataContext[1] = new decompose_TypedDataContext3(locations, activityContext, true);
         }
         decompose_TypedDataContext3 refDataContext1 = ((decompose_TypedDataContext3)(cachedCompiledDataContext[1]));
         return refDataContext1.GetLocation<System.Guid>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 2)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[2] == null)) {
             cachedCompiledDataContext[2] = new decompose_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext3_ForReadOnly valDataContext2 = ((decompose_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[2]));
         return valDataContext2.ValueType___Expr2Get();
     }
     if ((expressionId == 3)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[1] == null)) {
             cachedCompiledDataContext[1] = new decompose_TypedDataContext3(locations, activityContext, true);
         }
         decompose_TypedDataContext3 refDataContext3 = ((decompose_TypedDataContext3)(cachedCompiledDataContext[1]));
         return refDataContext3.GetLocation<object>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 4)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[2] == null)) {
             cachedCompiledDataContext[2] = new decompose_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext3_ForReadOnly valDataContext4 = ((decompose_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[2]));
         return valDataContext4.ValueType___Expr4Get();
     }
     if ((expressionId == 5)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[1] == null)) {
             cachedCompiledDataContext[1] = new decompose_TypedDataContext3(locations, activityContext, true);
         }
         decompose_TypedDataContext3 refDataContext5 = ((decompose_TypedDataContext3)(cachedCompiledDataContext[1]));
         return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 6)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[2] == null)) {
             cachedCompiledDataContext[2] = new decompose_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext3_ForReadOnly valDataContext6 = ((decompose_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[2]));
         return valDataContext6.ValueType___Expr6Get();
     }
     if ((expressionId == 7)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[2] == null)) {
             cachedCompiledDataContext[2] = new decompose_TypedDataContext3_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext3_ForReadOnly valDataContext7 = ((decompose_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[2]));
         return valDataContext7.ValueType___Expr7Get();
     }
     if ((expressionId == 8)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[3] == null)) {
             cachedCompiledDataContext[3] = new decompose_TypedDataContext4_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext4_ForReadOnly valDataContext8 = ((decompose_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[3]));
         return valDataContext8.ValueType___Expr8Get();
     }
     if ((expressionId == 9)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[4] == null)) {
             cachedCompiledDataContext[4] = new decompose_TypedDataContext4(locations, activityContext, true);
         }
         decompose_TypedDataContext4 refDataContext9 = ((decompose_TypedDataContext4)(cachedCompiledDataContext[4]));
         return refDataContext9.GetLocation<object>(refDataContext9.ValueType___Expr9Get, refDataContext9.ValueType___Expr9Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 10)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[3] == null)) {
             cachedCompiledDataContext[3] = new decompose_TypedDataContext4_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext4_ForReadOnly valDataContext10 = ((decompose_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[3]));
         return valDataContext10.ValueType___Expr10Get();
     }
     if ((expressionId == 11)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[4] == null)) {
             cachedCompiledDataContext[4] = new decompose_TypedDataContext4(locations, activityContext, true);
         }
         decompose_TypedDataContext4 refDataContext11 = ((decompose_TypedDataContext4)(cachedCompiledDataContext[4]));
         return refDataContext11.GetLocation<System.Collections.ArrayList>(refDataContext11.ValueType___Expr11Get, refDataContext11.ValueType___Expr11Set, expressionId, this.rootActivity, activityContext);
     }
     if ((expressionId == 12)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext5_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[5] == null)) {
             cachedCompiledDataContext[5] = new decompose_TypedDataContext5_ForReadOnly(locations, activityContext, true);
         }
         decompose_TypedDataContext5_ForReadOnly valDataContext12 = ((decompose_TypedDataContext5_ForReadOnly)(cachedCompiledDataContext[5]));
         return valDataContext12.ValueType___Expr12Get();
     }
     if ((expressionId == 13)) {
         System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = decompose_TypedDataContext5.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 7);
         if ((cachedCompiledDataContext[6] == null)) {
             cachedCompiledDataContext[6] = new decompose_TypedDataContext5(locations, activityContext, true);
         }
         decompose_TypedDataContext5 refDataContext13 = ((decompose_TypedDataContext5)(cachedCompiledDataContext[6]));
         return refDataContext13.GetLocation<System.Collections.ArrayList>(refDataContext13.ValueType___Expr13Get, refDataContext13.ValueType___Expr13Set, 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)) {
         decompose_TypedDataContext2_ForReadOnly valDataContext0 = new decompose_TypedDataContext2_ForReadOnly(locations, true);
         return valDataContext0.ValueType___Expr0Get();
     }
     if ((expressionId == 1)) {
         decompose_TypedDataContext3 refDataContext1 = new decompose_TypedDataContext3(locations, true);
         return refDataContext1.GetLocation<System.Guid>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set);
     }
     if ((expressionId == 2)) {
         decompose_TypedDataContext3_ForReadOnly valDataContext2 = new decompose_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext2.ValueType___Expr2Get();
     }
     if ((expressionId == 3)) {
         decompose_TypedDataContext3 refDataContext3 = new decompose_TypedDataContext3(locations, true);
         return refDataContext3.GetLocation<object>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set);
     }
     if ((expressionId == 4)) {
         decompose_TypedDataContext3_ForReadOnly valDataContext4 = new decompose_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext4.ValueType___Expr4Get();
     }
     if ((expressionId == 5)) {
         decompose_TypedDataContext3 refDataContext5 = new decompose_TypedDataContext3(locations, true);
         return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set);
     }
     if ((expressionId == 6)) {
         decompose_TypedDataContext3_ForReadOnly valDataContext6 = new decompose_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext6.ValueType___Expr6Get();
     }
     if ((expressionId == 7)) {
         decompose_TypedDataContext3_ForReadOnly valDataContext7 = new decompose_TypedDataContext3_ForReadOnly(locations, true);
         return valDataContext7.ValueType___Expr7Get();
     }
     if ((expressionId == 8)) {
         decompose_TypedDataContext4_ForReadOnly valDataContext8 = new decompose_TypedDataContext4_ForReadOnly(locations, true);
         return valDataContext8.ValueType___Expr8Get();
     }
     if ((expressionId == 9)) {
         decompose_TypedDataContext4 refDataContext9 = new decompose_TypedDataContext4(locations, true);
         return refDataContext9.GetLocation<object>(refDataContext9.ValueType___Expr9Get, refDataContext9.ValueType___Expr9Set);
     }
     if ((expressionId == 10)) {
         decompose_TypedDataContext4_ForReadOnly valDataContext10 = new decompose_TypedDataContext4_ForReadOnly(locations, true);
         return valDataContext10.ValueType___Expr10Get();
     }
     if ((expressionId == 11)) {
         decompose_TypedDataContext4 refDataContext11 = new decompose_TypedDataContext4(locations, true);
         return refDataContext11.GetLocation<System.Collections.ArrayList>(refDataContext11.ValueType___Expr11Get, refDataContext11.ValueType___Expr11Set);
     }
     if ((expressionId == 12)) {
         decompose_TypedDataContext5_ForReadOnly valDataContext12 = new decompose_TypedDataContext5_ForReadOnly(locations, true);
         return valDataContext12.ValueType___Expr12Get();
     }
     if ((expressionId == 13)) {
         decompose_TypedDataContext5 refDataContext13 = new decompose_TypedDataContext5(locations, true);
         return refDataContext13.GetLocation<System.Collections.ArrayList>(refDataContext13.ValueType___Expr13Get, refDataContext13.ValueType___Expr13Set);
     }
     return null;
 }