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)); } } } }
public static IEnumerable <ClrDynamic> EnumerateDynamicObjects(this ClrHeap heap) { return(from address in heap.EnumerateObjectAddresses() select heap.GetDynamicObject(address)); }