Example #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;
 }
Example #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;
 }
Example #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);
        }
Example #4
0
 public bool Equals(CorAssembly other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
Example #5
0
 public bool Equals(CorAssembly other)
 {
     return(!ReferenceEquals(other, null) &&
            RawObject == other.RawObject);
 }