예제 #1
0
 public static Task SaveAsync(string path, AutoHPointData data)
 {
     // ISSUE: variable of a compiler-generated type
     HPointDataSerializedValue.\u003CSaveAsync\u003Ec__async0 saveAsyncCAsync0;
     // ISSUE: reference to a compiler-generated field
     saveAsyncCAsync0.path = path;
     // ISSUE: reference to a compiler-generated field
     saveAsyncCAsync0.data = data;
     // ISSUE: reference to a compiler-generated field
     saveAsyncCAsync0.\u0024builder = AsyncTaskMethodBuilder.Create();
     // ISSUE: reference to a compiler-generated field
     ref AsyncTaskMethodBuilder local = ref saveAsyncCAsync0.\u0024builder;
예제 #2
0
 public HPointDataSerializedValue(AutoHPointData data)
 {
     this.HPointDataAreaID = new Dictionary <string, List <int> >();
     this.HPointDataPos    = new Dictionary <string, List <Vector3> >();
     using (Dictionary <string, List <ValueTuple <int, Vector3> > > .Enumerator enumerator1 = data.Points.GetEnumerator())
     {
         while (enumerator1.MoveNext())
         {
             KeyValuePair <string, List <ValueTuple <int, Vector3> > > current1 = enumerator1.Current;
             this.HPointDataAreaID.Add(current1.Key, new List <int>());
             this.HPointDataPos.Add(current1.Key, new List <Vector3>());
             using (List <ValueTuple <int, Vector3> > .Enumerator enumerator2 = current1.Value.GetEnumerator())
             {
                 while (enumerator2.MoveNext())
                 {
                     ValueTuple <int, Vector3> current2 = enumerator2.Current;
                     this.HPointDataAreaID[current1.Key].Add((int)current2.Item1);
                     this.HPointDataPos[current1.Key].Add((Vector3)current2.Item2);
                 }
             }
         }
     }
 }