Browse Source

Fix #1810: ArgumentNullException in DecompilerTextView.ShowText

pull/1820/head
Siegfried Pammer 6 years ago
parent
commit
327428aa11
  1. 1
      ILSpy/TextView/DecompilerTextView.cs

1
ILSpy/TextView/DecompilerTextView.cs

@ -567,6 +567,7 @@ namespace ICSharpCode.ILSpy.TextView @@ -567,6 +567,7 @@ namespace ICSharpCode.ILSpy.TextView
this.nextDecompilationRun.TaskCompletionSource.TrySetCanceled();
this.nextDecompilationRun = null;
}
if (nodes != null && string.IsNullOrEmpty(textOutput.Title))
textOutput.Title = string.Join(", ", nodes.Select(n => n.ToString()));
ShowOutput(textOutput, highlighting);
decompiledNodes = nodes;

Loading…
Cancel
Save