Esempio n. 1
0
 public IEnumerable <dynamic> EnumerateDynamicObjectsOfType(string TypePattern = "")
 {
     EnsureCache();
     foreach (string str in cache.Keys)
     {
         if (WildcardCompare(str, TypePattern))
         {
             foreach (ulong obj in cache[str].Cache)
             {
                 yield return(heap.GetDynamicObject(obj));
             }
         }
     }
 }
Esempio n. 2
0
 public static IEnumerable <ClrDynamic> EnumerateDynamicObjects(this ClrHeap heap)
 {
     return(from address in heap.EnumerateObjectAddresses()
            select heap.GetDynamicObject(address));
 }