From ce33b5bd3662101b625a164ac4bc4c9239740471 Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:49:06 -0800 Subject: [PATCH] tweak asserts --- src/coreclr/vm/ceemain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/vm/ceemain.cpp b/src/coreclr/vm/ceemain.cpp index a582cf9b275a0a..72c69aa834e6ff 100644 --- a/src/coreclr/vm/ceemain.cpp +++ b/src/coreclr/vm/ceemain.cpp @@ -1782,7 +1782,7 @@ static void OsAttachThread(void* thread) if (threadFromCurrentFiber != NULL) { - _ASSERTE("Multiple threads encountered from a single fiber"); + _ASSERTE(!"Multiple threads encountered from a single fiber"); COMPlusThrowWin32(); } @@ -1812,7 +1812,7 @@ bool OsDetachThread(void* thread) if (threadFromCurrentFiber != thread) { - _ASSERTE("Detaching a thread from the wrong fiber"); + _ASSERTE(!"Detaching a thread from the wrong fiber"); COMPlusThrowWin32(); }