Skip to content

Commit cd6805d

Browse files
Debugger Agent Workflow: Bug: InvalidCastException when "Loading..." … (#3720)
* Debugger Agent Workflow: Bug: InvalidCastException when "Loading..." node is selected * --source instead of --add-source for dotnet tool install dotnet-format
1 parent b550a8a commit cd6805d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-ilspy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
DOTNET_FORMAT_VERSION: 10.0.100-rtm.25531.102
5050
DOTNET_FORMAT_SOURCE: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json
51-
run: dotnet tool install -g dotnet-format --version "${{env.DOTNET_FORMAT_VERSION}}" --add-source "${{env.DOTNET_FORMAT_SOURCE}}"
51+
run: dotnet tool install -g dotnet-format --version "${{env.DOTNET_FORMAT_VERSION}}" --source "${{env.DOTNET_FORMAT_SOURCE}}"
5252

5353
- name: Install wix (locked version)
5454
run: dotnet tool install --global wix --version 6.0.2

ILSpy/Analyzers/AnalyzerTreeViewModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
using ICSharpCode.ILSpy.AssemblyTree;
2828
using ICSharpCode.ILSpy.TreeNodes;
2929
using ICSharpCode.ILSpy.ViewModels;
30+
using ICSharpCode.ILSpyX.TreeView;
3031

3132
using TomsToolbox.Wpf;
3233

@@ -51,9 +52,9 @@ public AnalyzerTreeViewModel(AssemblyTreeModel assemblyTreeModel)
5152

5253
public ICommand AnalyzeCommand => new DelegateCommand(AnalyzeSelected);
5354

54-
private AnalyzerTreeNode[] selectedItems = [];
55+
private SharpTreeNode[] selectedItems = [];
5556

56-
public AnalyzerTreeNode[] SelectedItems {
57+
public SharpTreeNode[] SelectedItems {
5758
get => selectedItems ?? [];
5859
set {
5960
if (SelectedItems.SequenceEqual(value))

0 commit comments

Comments
 (0)