From 6feadc6cab1906ac1e2a596fdc91bcc4a130f207 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 31 Mar 2026 10:08:58 +0200 Subject: [PATCH] Fix #3700: "open in new tab" flag was not passed along correctly. --- ILSpy/Search/SearchPane.xaml.cs | 2 +- ILSpy/TextView/DecompilerTextView.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ILSpy/Search/SearchPane.xaml.cs b/ILSpy/Search/SearchPane.xaml.cs index 0644e4e7c..206417a98 100644 --- a/ILSpy/Search/SearchPane.xaml.cs +++ b/ILSpy/Search/SearchPane.xaml.cs @@ -307,7 +307,7 @@ namespace ICSharpCode.ILSpy.Search { if (listBox.SelectedItem is SearchResult result) { - MessageBus.Send(this, new NavigateToReferenceEventArgs(result.Reference, inNewTabPage)); + MessageBus.Send(this, new NavigateToReferenceEventArgs(result.Reference, inNewTabPage: inNewTabPage)); } } diff --git a/ILSpy/TextView/DecompilerTextView.cs b/ILSpy/TextView/DecompilerTextView.cs index 50e553dc9..1d334ef6e 100644 --- a/ILSpy/TextView/DecompilerTextView.cs +++ b/ILSpy/TextView/DecompilerTextView.cs @@ -1017,7 +1017,7 @@ namespace ICSharpCode.ILSpy.TextView return; } } - MessageBus.Send(this, new NavigateToReferenceEventArgs(reference, openInNewTab)); + MessageBus.Send(this, new NavigateToReferenceEventArgs(reference, inNewTabPage: openInNewTab)); } private void SetLocalReferenceMarks(object reference)