File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,9 +273,8 @@ AssemblyBinder* AssemblySpec::GetInitialBinder()
273273 }
274274 CONTRACTL_END ;
275275
276- // If the caller explicitly named the load context to bind against
277- // (AssemblyLoadContext.LoadFromAssemblyName), it wins over the parent's context.
278- if (GetExplicitBinder () != NULL )
276+ // If the caller explicitly named the load context to bind against, it wins over the parent's context.
277+ if (GetExplicitBinder () != NULL )
279278 return GetExplicitBinder ();
280279
281280 AssemblyBinder *pParentAssemblyBinder = NULL ;
Original file line number Diff line number Diff line change @@ -53,10 +53,9 @@ class AssemblySpec : public BaseAssemblySpec
5353 private:
5454 Assembly *m_pParentAssembly;
5555
56- // The binder to bind against, when the caller has explicitly named the load context to use
57- // (AssemblyLoadContext.LoadFromAssemblyName). When set, it takes precedence over the binder
58- // of the parent assembly.
59- AssemblyBinder *m_pExplicitBinder;
56+ // The initial binder to use when the caller explicitly provided a load context for this load.
57+ // When set, it takes precedence over the binder of the parent assembly as the initial binder.
58+ AssemblyBinder *m_pExplicitBinder;
6059
6160 HRESULT InitializeSpecInternal (mdToken kAssemblyRefOrDef ,
6261 IMDInternalImport *pImport,
You can’t perform that action at this time.
0 commit comments