Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions eng/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<PackageVersion Include="Microsoft.VisualStudio.InteractiveWindow" Version="4.0.0" />
<PackageVersion Include="Microsoft.VisualStudio.VsInteractiveWindow" Version="4.0.0" />
<PackageVersion Include="Microsoft.VisualStudio.Search" Version="17.14.39337" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.Styles" Version="18.0.2101-preview.1" />
<PackageVersion Include="Microsoft.VisualStudio.WinForms.Interfaces" Version="17.0.0-previews-4-31709-430" />
<PackageVersion Include="Microsoft.VisualStudio.Workspace.VSIntegration" Version="17.9.29-preview-0001" />
<PackageVersion Include="Microsoft.VisualStudio.Copilot.Roslyn.SemanticSearch" Version="18.0.634-alpha" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,18 +580,18 @@ public async Task<bool> IsNavigationBarEnabledAsync(CancellationToken cancellati
return (await GetNavigationBarMarginAsync(view, cancellationToken)) is not null;
}

private async Task<List<ComboBox>> GetNavigationBarComboBoxesAsync(IWpfTextView textView, CancellationToken cancellationToken)
private async Task<List<Microsoft.VisualStudio.Shell.Controls.ComboBox>> GetNavigationBarComboBoxesAsync(IWpfTextView textView, CancellationToken cancellationToken)
{
await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);

var margin = await GetNavigationBarMarginAsync(textView, cancellationToken);
try
{
return margin.GetFieldValue<List<ComboBox>>("_combos");
return margin.GetFieldValue<List<Microsoft.VisualStudio.Shell.Controls.ComboBox>>("_combos");
}
catch (FieldAccessException)
{
return margin.GetFieldValue<List<ComboBox>>("Combos");
return margin.GetFieldValue<List<Microsoft.VisualStudio.Shell.Controls.ComboBox>>("Combos");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<PackageReference Include="InputSimulatorPlus" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Testing.SourceGenerator" PrivateAssets="all" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Testing.Xunit" />
<PackageReference Include="Microsoft.VisualStudio.Shell.Styles" />
<PackageReference Include="NuGet.SolutionRestoreManager.Interop" />
<PackageReference Include="System.IO.Hashing" />
<PackageReference Include="UIAComWrapper" />
Expand Down