diff --git a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs index 1079c76..5f8f43e 100644 --- a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs +++ b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs @@ -151,7 +151,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport) .AppendIf(stacktrace.ExecutingMethod.CSharpILMixedInstructions.Count > 0, sp => sp .Append(ContainerCode($"{id2}", "IL with C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) .AppendIf(stacktrace.ExecutingMethod.CSharpInstructions.Count > 0, sp => sp - .Append(ContainerCode($"{id3}", "C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) + .Append(ContainerCode($"{id3}", "C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpInstructions.Select(x => x.EscapeGenerics()))))) .AppendIf(stacktrace.ExecutingMethod.NativeInstructions.Count > 0, sp => sp .Append(ContainerCode($"{id4}", "Native:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.NativeInstructions.Select(x => x.EscapeGenerics()))))) .Append("") @@ -180,7 +180,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport) .AppendIf(method.CSharpILMixedInstructions.Count > 0, sp => sp .Append(ContainerCode($"{id02}", "IL with C#:", string.Join(Environment.NewLine, method.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) .AppendIf(method.CSharpInstructions.Count > 0, sp => sp - .Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, method.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) + .Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, method.CSharpInstructions.Select(x => x.EscapeGenerics()))))) .Append(""); } sbMain.Append(""); @@ -205,7 +205,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport) .AppendIf(stacktrace.OriginalMethod.CSharpILMixedInstructions.Count > 0, sb => sb .Append(ContainerCode($"{id02}", "IL with C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) .AppendIf(stacktrace.OriginalMethod.CSharpInstructions.Count > 0, sb => sb - .Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics()))))) + .Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpInstructions.Select(x => x.EscapeGenerics()))))) .Append("") .Append(""); } @@ -653,4 +653,4 @@ private static string GetLogFilesHtml(IEnumerable files) sb.Append(""); return sb.ToString(); } -} \ No newline at end of file +}