Address PR comments
authorSung Yoon Whang <suwhang@microsoft.com>
Fri, 9 Feb 2018 20:38:28 +0000 (12:38 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sat, 10 Feb 2018 01:07:40 +0000 (17:07 -0800)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/mscorlib/shared/System/Diagnostics/Debug.Unix.cs

index 0ea1879..0554581 100644 (file)
@@ -21,10 +21,8 @@ namespace System.Diagnostics
                 // In Core, we do not show a dialog.
                 // Fail in order to avoid anyone catching an exception and masking
                 // an assert failure.
-
-                // We can safely ignore errorSource since it's a CoreCLR specific argument for distinguishing calls from Debug.Assert and Environment.FailFast
                 var ex = new DebugAssertException(message, detailMessage, stackTrace);
-                Environment.FailFast(ex.Message, ex);
+                Environment.FailFast(ex.Message, ex, errorSource);
             }
         }