Skip to content

Commit 249bcbe

Browse files
authored
Only set the assembly binder on success when binding to SPCL (#68282)
1 parent 4db986e commit 249bcbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/binder/defaultassemblybinder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ HRESULT DefaultAssemblyBinder::BindToSystem(BINDER_SPACE::Assembly** ppSystemAss
200200
{
201201
_ASSERTE(pAsm != NULL);
202202
*ppSystemAssembly = pAsm.Extract();
203+
(*ppSystemAssembly)->SetBinder(this);
203204
}
204205

205-
(*ppSystemAssembly)->SetBinder(this);
206206
}
207207
EX_CATCH_HRESULT(hr);
208208

0 commit comments

Comments
 (0)