Esempio n. 1
0
 private static string[] TokeniseHumanTransformsPath(string[] refTransformsPath, string[] humanTransforms)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8C pathCAnonStorey8C = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8C();
     // ISSUE: reference to a compiler-generated field
     pathCAnonStorey8C.humanTransforms = humanTransforms;
     // ISSUE: reference to a compiler-generated field
     if (pathCAnonStorey8C.humanTransforms == null)
     {
         return((string[])null);
     }
     string[] array = new string[1] {
         string.Empty
     };
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8D pathCAnonStorey8D = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8D();
     // ISSUE: reference to a compiler-generated field
     pathCAnonStorey8D.\u003C\u003Ef__ref\u0024140 = pathCAnonStorey8C;
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated field
     for (pathCAnonStorey8D.i = 0; pathCAnonStorey8D.i < pathCAnonStorey8C.humanTransforms.Length; pathCAnonStorey8D.i = pathCAnonStorey8D.i + 1)
     {
         // ISSUE: reference to a compiler-generated method
         int index = ArrayUtility.FindIndex <string>(refTransformsPath, new Predicate <string>(pathCAnonStorey8D.\u003C\u003Em__14C));
         if (index != -1)
         {
             // ISSUE: object of a compiler-generated type is created
             // ISSUE: variable of a compiler-generated type
             AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8E pathCAnonStorey8E = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8E();
             int length = array.Length;
             int num;
             // ISSUE: reference to a compiler-generated field
             // ISSUE: reference to a compiler-generated field
             // ISSUE: reference to a compiler-generated field
             // ISSUE: reference to a compiler-generated field
             for (pathCAnonStorey8E.path = refTransformsPath[index]; pathCAnonStorey8E.path.Length > 0; pathCAnonStorey8E.path = pathCAnonStorey8E.path.Substring(0, num == -1 ? 0 : num))
             {
                 // ISSUE: reference to a compiler-generated method
                 if (ArrayUtility.FindIndex <string>(array, new Predicate <string>(pathCAnonStorey8E.\u003C\u003Em__14D)) == -1)
                 {
                     // ISSUE: reference to a compiler-generated field
                     ArrayUtility.Insert <string>(ref array, length, pathCAnonStorey8E.path);
                 }
                 // ISSUE: reference to a compiler-generated field
                 num = pathCAnonStorey8E.path.LastIndexOf('/');
             }
         }
     }
     return(array);
 }
 private static string[] TokeniseHumanTransformsPath(string[] refTransformsPath, string[] humanTransforms)
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8C pathCAnonStorey8C = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8C();
   // ISSUE: reference to a compiler-generated field
   pathCAnonStorey8C.humanTransforms = humanTransforms;
   // ISSUE: reference to a compiler-generated field
   if (pathCAnonStorey8C.humanTransforms == null)
     return (string[]) null;
   string[] array = new string[1]{ string.Empty };
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8D pathCAnonStorey8D = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8D();
   // ISSUE: reference to a compiler-generated field
   pathCAnonStorey8D.\u003C\u003Ef__ref\u0024140 = pathCAnonStorey8C;
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated field
   // ISSUE: reference to a compiler-generated field
   for (pathCAnonStorey8D.i = 0; pathCAnonStorey8D.i < pathCAnonStorey8C.humanTransforms.Length; pathCAnonStorey8D.i = pathCAnonStorey8D.i + 1)
   {
     // ISSUE: reference to a compiler-generated method
     int index = ArrayUtility.FindIndex<string>(refTransformsPath, new Predicate<string>(pathCAnonStorey8D.\u003C\u003Em__14C));
     if (index != -1)
     {
       // ISSUE: object of a compiler-generated type is created
       // ISSUE: variable of a compiler-generated type
       AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8E pathCAnonStorey8E = new AvatarMaskUtility.\u003CTokeniseHumanTransformsPath\u003Ec__AnonStorey8E();
       int length = array.Length;
       int num;
       // ISSUE: reference to a compiler-generated field
       // ISSUE: reference to a compiler-generated field
       // ISSUE: reference to a compiler-generated field
       // ISSUE: reference to a compiler-generated field
       for (pathCAnonStorey8E.path = refTransformsPath[index]; pathCAnonStorey8E.path.Length > 0; pathCAnonStorey8E.path = pathCAnonStorey8E.path.Substring(0, num == -1 ? 0 : num))
       {
         // ISSUE: reference to a compiler-generated method
         if (ArrayUtility.FindIndex<string>(array, new Predicate<string>(pathCAnonStorey8E.\u003C\u003Em__14D)) == -1)
         {
           // ISSUE: reference to a compiler-generated field
           ArrayUtility.Insert<string>(ref array, length, pathCAnonStorey8E.path);
         }
         // ISSUE: reference to a compiler-generated field
         num = pathCAnonStorey8E.path.LastIndexOf('/');
       }
     }
   }
   return array;
 }