Skip to content

Commit ce33b5b

Browse files
committed
tweak asserts
1 parent 19e5457 commit ce33b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/vm/ceemain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ static void OsAttachThread(void* thread)
17821782

17831783
if (threadFromCurrentFiber != NULL)
17841784
{
1785-
_ASSERTE("Multiple threads encountered from a single fiber");
1785+
_ASSERTE(!"Multiple threads encountered from a single fiber");
17861786
COMPlusThrowWin32();
17871787
}
17881788

@@ -1812,7 +1812,7 @@ bool OsDetachThread(void* thread)
18121812

18131813
if (threadFromCurrentFiber != thread)
18141814
{
1815-
_ASSERTE("Detaching a thread from the wrong fiber");
1815+
_ASSERTE(!"Detaching a thread from the wrong fiber");
18161816
COMPlusThrowWin32();
18171817
}
18181818

0 commit comments

Comments
 (0)