Skip to content

Commit

Permalink
Fix issue where no xunit based tests can run (#60522)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwrighton authored Oct 17, 2021
1 parent 758750c commit 5e6dafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/vm/generics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ BOOL CheckInstantiation(Module* pModule, mdToken tkGeneric, Instantiation inst)
|| type == ELEMENT_TYPE_TYPEDBYREF
|| type == ELEMENT_TYPE_PTR
|| type == ELEMENT_TYPE_FNPTR
|| (pMT = th.GetMethodTable(), (pMT != NULL) && (pMT->IsByRefLike() || (g_fEEStarted && pMT->IsDelegate()))))
|| (pMT = th.GetMethodTable(), (pMT != NULL) && pMT->IsByRefLike()))
{
if (pSupportsAnyType == NULL)
{
Expand Down

0 comments on commit 5e6dafe

Please sign in to comment.