コード例 #1
0
 private void UpdateNamespaceHiearchyDataWithTypes(Dictionary <string, HashSet <string> > namespaceHierarchy, IEnumerable <TypeReference> types)
 {
     V_0 = types.GetEnumerator();
     try
     {
         while (V_0.MoveNext())
         {
             V_1 = V_0.get_Current().get_Namespace();
             if (!Utilities.HasNamespaceParentNamespace(V_1))
             {
                 continue;
             }
             V_2 = Utilities.GetNamesapceParentNamesapce(V_1);
             V_3 = Utilities.GetNamespaceChildNamesapce(V_1);
             if (!namespaceHierarchy.TryGetValue(V_2, out V_4))
             {
                 V_4       = new HashSet <string>();
                 dummyVar1 = V_4.Add(V_3);
                 namespaceHierarchy.Add(V_2, V_4);
             }
             else
             {
                 if (V_4.Contains(V_3))
                 {
                     continue;
                 }
                 dummyVar0 = V_4.Add(V_3);
             }
         }
     }
     finally
     {
         if (V_0 != null)
         {
             V_0.Dispose();
         }
     }
     return;
 }