internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int incrementedId) { this.appDomain = appDomain; this.modules = new DebuggerCollection <ICorDebugModule, DnModule>(CreateModule); this.assembly = new CorAssembly(assembly); this.incrementedId = incrementedId; }
internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int uniqueId, int uniqueIdProcess, int uniqueIdAppDomain) { AppDomain = appDomain; modules = new DebuggerCollection <ICorDebugModule, DnModule>(CreateModule); CorAssembly = new CorAssembly(assembly); UniqueId = uniqueId; UniqueIdProcess = uniqueIdProcess; UniqueIdAppDomain = uniqueIdAppDomain; }
internal IDebuggerAssembly FindAssemblyUI(DBG.CorAssembly corAssembly) { dispatcher.VerifyAccess(); var dbg = theDebugger.Debugger; if (dbg == null) { return(null); } foreach (var a in dbg.Assemblies) { if (a.CorAssembly == corAssembly) { return(new DebuggerAssembly(this, a)); } } return(null); }
public bool Equals(CorAssembly other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
public bool Equals(CorAssembly other) { return(!ReferenceEquals(other, null) && RawObject == other.RawObject); }