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