public override IEnumerable <ClrType> EnumerateTypes() { foreach (var type in m_runtime.GetHeap().EnumerateTypes()) { if (type.Module == this) { yield return(type); } } }
public RhStaticVar(RhRuntime runtime, Address addr, Address obj, ClrType type, string name, bool pinned, bool interior) { Address = addr; Object = obj; m_type = type; m_name = name; m_pinned = pinned; m_interior = interior; m_type = runtime.GetHeap().GetObjectType(obj); m_appDomain = runtime.GetRhAppDomain(); }
public RhStaticRootWalker(RhRuntime runtime, bool resolveStatics) { Roots = new List <ClrRoot>(128); m_runtime = resolveStatics ? runtime : null; m_heap = m_runtime.GetHeap(); }
public RhHandleRootWalker(RhRuntime runtime, bool dependentHandleSupport) { m_heap = runtime.GetHeap(); m_domain = runtime.GetRhAppDomain(); m_dependentSupport = dependentHandleSupport; }
public RhStaticRootWalker(RhRuntime runtime, bool resolveStatics) { Roots = new List<ClrRoot>(128); m_runtime = resolveStatics ? runtime : null; m_heap = m_runtime.GetHeap(); }
public RhHandleRootWalker(RhRuntime runtime, bool dependentHandleSupport) { m_heap = runtime.GetHeap(); m_domain = runtime.GetRhAppDomain(); m_dependentSupport = dependentHandleSupport; }
public RhStaticVar(RhRuntime runtime, Address addr, Address obj, ClrType type, string name, bool pinned, bool interior) { Address = addr; Object = obj; m_type = type; m_name = name; m_pinned = pinned; m_interior = interior; m_type = runtime.GetHeap().GetObjectType(obj); m_appDomain = runtime.GetRhAppDomain(); }