Beispiel #1
0
        internal IAppDomain FindAppDomainUI(DBG.CorAppDomain appDomain)
        {
            dispatcher.VerifyAccess();
            var dbg = theDebugger.Debugger;

            if (dbg == null)
            {
                return(null);
            }
            foreach (var p in dbg.Processes)
            {
                foreach (var ad in p.AppDomains)
                {
                    if (ad.CorAppDomain == appDomain)
                    {
                        return(new DebuggerAppDomain(this, ad));
                    }
                }
            }
            return(null);
        }
Beispiel #2
0
 public bool Equals(CorAppDomain other) => !ReferenceEquals(other, null) && RawObject == other.RawObject;
Beispiel #3
0
 public bool Equals(CorAppDomain other)
 {
     return(!ReferenceEquals(other, null) &&
            RawObject == other.RawObject);
 }