From 166b763955f66978f77a4d9b1452a41bb2f159fb Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Thu, 16 Apr 2026 13:34:10 +0200 Subject: [PATCH 1/3] Debugger Agent Workflow: Bug: InvalidCastException when "Loading..." node is selected --- ILSpy/Analyzers/AnalyzerTreeViewModel.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ILSpy/Analyzers/AnalyzerTreeViewModel.cs b/ILSpy/Analyzers/AnalyzerTreeViewModel.cs index 30ef87c99c..dc8ece6d93 100644 --- a/ILSpy/Analyzers/AnalyzerTreeViewModel.cs +++ b/ILSpy/Analyzers/AnalyzerTreeViewModel.cs @@ -25,8 +25,10 @@ using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.ILSpy.Analyzers.TreeNodes; using ICSharpCode.ILSpy.AssemblyTree; +using ICSharpCode.ILSpy.Controls.TreeView; using ICSharpCode.ILSpy.TreeNodes; using ICSharpCode.ILSpy.ViewModels; +using ICSharpCode.ILSpyX.TreeView; using TomsToolbox.Wpf; @@ -51,9 +53,9 @@ public AnalyzerTreeViewModel(AssemblyTreeModel assemblyTreeModel) public ICommand AnalyzeCommand => new DelegateCommand(AnalyzeSelected); - private AnalyzerTreeNode[] selectedItems = []; + private SharpTreeNode[] selectedItems = []; - public AnalyzerTreeNode[] SelectedItems { + public SharpTreeNode[] SelectedItems { get => selectedItems ?? []; set { if (SelectedItems.SequenceEqual(value)) From 32b3ed2c2b88246c8cf73e7cc41c8a609eefdd3c Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Thu, 16 Apr 2026 13:44:50 +0200 Subject: [PATCH 2/3] --source instead of --add-source for dotnet tool install dotnet-format --- .github/workflows/build-ilspy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index fa7d058875..58fcdefe18 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -48,7 +48,7 @@ jobs: env: DOTNET_FORMAT_VERSION: 10.0.100-rtm.25531.102 DOTNET_FORMAT_SOURCE: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json - run: dotnet tool install -g dotnet-format --version "${{env.DOTNET_FORMAT_VERSION}}" --add-source "${{env.DOTNET_FORMAT_SOURCE}}" + run: dotnet tool install -g dotnet-format --version "${{env.DOTNET_FORMAT_VERSION}}" --source "${{env.DOTNET_FORMAT_SOURCE}}" - name: Install wix (locked version) run: dotnet tool install --global wix --version 6.0.2 From 448f152598a609bc96a9e9057bb9cbe18d5c868f Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Thu, 16 Apr 2026 13:47:20 +0200 Subject: [PATCH 3/3] Get rid of wrong using added --- ILSpy/Analyzers/AnalyzerTreeViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/ILSpy/Analyzers/AnalyzerTreeViewModel.cs b/ILSpy/Analyzers/AnalyzerTreeViewModel.cs index dc8ece6d93..5e8a975c21 100644 --- a/ILSpy/Analyzers/AnalyzerTreeViewModel.cs +++ b/ILSpy/Analyzers/AnalyzerTreeViewModel.cs @@ -25,7 +25,6 @@ using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.ILSpy.Analyzers.TreeNodes; using ICSharpCode.ILSpy.AssemblyTree; -using ICSharpCode.ILSpy.Controls.TreeView; using ICSharpCode.ILSpy.TreeNodes; using ICSharpCode.ILSpy.ViewModels; using ICSharpCode.ILSpyX.TreeView;