Browse Source

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
pull/3724/head
Christoph Wille 2 days ago committed by GitHub
parent
commit
cd6805d1e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/build-ilspy.yml
  2. 5
      ILSpy/Analyzers/AnalyzerTreeViewModel.cs

2
.github/workflows/build-ilspy.yml

@ -48,7 +48,7 @@ jobs:
env: env:
DOTNET_FORMAT_VERSION: 10.0.100-rtm.25531.102 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 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) - name: Install wix (locked version)
run: dotnet tool install --global wix --version 6.0.2 run: dotnet tool install --global wix --version 6.0.2

5
ILSpy/Analyzers/AnalyzerTreeViewModel.cs

@ -27,6 +27,7 @@ using ICSharpCode.ILSpy.Analyzers.TreeNodes;
using ICSharpCode.ILSpy.AssemblyTree; using ICSharpCode.ILSpy.AssemblyTree;
using ICSharpCode.ILSpy.TreeNodes; using ICSharpCode.ILSpy.TreeNodes;
using ICSharpCode.ILSpy.ViewModels; using ICSharpCode.ILSpy.ViewModels;
using ICSharpCode.ILSpyX.TreeView;
using TomsToolbox.Wpf; using TomsToolbox.Wpf;
@ -51,9 +52,9 @@ namespace ICSharpCode.ILSpy.Analyzers
public ICommand AnalyzeCommand => new DelegateCommand(AnalyzeSelected); public ICommand AnalyzeCommand => new DelegateCommand(AnalyzeSelected);
private AnalyzerTreeNode[] selectedItems = []; private SharpTreeNode[] selectedItems = [];
public AnalyzerTreeNode[] SelectedItems { public SharpTreeNode[] SelectedItems {
get => selectedItems ?? []; get => selectedItems ?? [];
set { set {
if (SelectedItems.SequenceEqual(value)) if (SelectedItems.SequenceEqual(value))

Loading…
Cancel
Save