コード例 #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;
 }
コード例 #2
0
ファイル: DnAssembly.cs プロジェクト: zz110/dnSpy
 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;
 }
コード例 #3
0
ファイル: Debugger.cs プロジェクト: pashav15/pashav
        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);
        }
コード例 #4
0
 public bool Equals(CorAssembly other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
コード例 #5
0
 public bool Equals(CorAssembly other)
 {
     return(!ReferenceEquals(other, null) &&
            RawObject == other.RawObject);
 }