diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-12-03 16:11:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 16:11:29 -0800 |
commit | 3b47496ef2656333684526cf71478253a207c1a5 (patch) | |
tree | 72bc3933479a1e6d45b62a87ff4a200663a878fe /src/vm/domainfile.cpp | |
parent | 248449d08f5436fbeb140a6011e412f2fea4621f (diff) | |
download | coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.gz coreclr-3b47496ef2656333684526cf71478253a207c1a5.tar.bz2 coreclr-3b47496ef2656333684526cf71478253a207c1a5.zip |
Refactor all FCalls out of AppDomain.cs (#21337)
This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder.
Includes small bits of unrelated cleanup.
Diffstat (limited to 'src/vm/domainfile.cpp')
-rw-r--r-- | src/vm/domainfile.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vm/domainfile.cpp b/src/vm/domainfile.cpp index 19adf33ce1..2f881ac5f3 100644 --- a/src/vm/domainfile.cpp +++ b/src/vm/domainfile.cpp @@ -1715,16 +1715,6 @@ void DomainAssembly::DeliverSyncEvents() { SetShouldNotifyDebugger(); - if (m_pDomain->IsDebuggerAttached()) - { - // If this is the first assembly in the AppDomain, it may be possible to get a better name than the - // default. - CollectibleAssemblyHolder<DomainAssembly *> pDomainAssembly; - m_pDomain->m_Assemblies.Get(m_pDomain, 0, pDomainAssembly.This()); - if ((pDomainAssembly == this) && !m_pDomain->IsUserCreatedDomain()) - m_pDomain->ResetFriendlyName(); - } - // Still work to do even if no debugger is attached. NotifyDebuggerLoad(ATTACH_ASSEMBLY_LOAD, FALSE); |