Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public bool Equals(CorAssembly other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
Ejemplo n.º 5
0
 public bool Equals(CorAssembly other)
 {
     return(!ReferenceEquals(other, null) &&
            RawObject == other.RawObject);
 }