Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 5816a42

Browse files
sywhangjkotas
authored andcommitted
Address PR comments
Signed-off-by: dotnet-bot <[email protected]>
1 parent 22669ca commit 5816a42

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mscorlib/shared/System/Diagnostics/Debug.Unix.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ private static void ShowDialog(string stackTrace, string message, string detailM
2121
// In Core, we do not show a dialog.
2222
// Fail in order to avoid anyone catching an exception and masking
2323
// an assert failure.
24-
25-
// We can safely ignore errorSource since it's a CoreCLR specific argument for distinguishing calls from Debug.Assert and Environment.FailFast
2624
var ex = new DebugAssertException(message, detailMessage, stackTrace);
27-
Environment.FailFast(ex.Message, ex);
25+
Environment.FailFast(ex.Message, ex, errorSource);
2826
}
2927
}
3028

0 commit comments

Comments
 (0)