System.Diagnostics.Debug.FormatAssert C# (CSharp) Method

FormatAssert() private static method

private static FormatAssert ( string stackTrace, string message, string detailMessage ) : string
stackTrace string
message string
detailMessage string
return string
        private static string FormatAssert(string stackTrace, string message, string detailMessage)
        {
            var newLine = GetIndentString() + Environment.NewLine;
            return SR.DebugAssertBanner + newLine
                   + SR.DebugAssertShortMessage + newLine
                   + message + newLine
                   + SR.DebugAssertLongMessage + newLine
                   + detailMessage + newLine
                   + stackTrace;
        }