Skip to content

Code suggestions don't match 'Problems' pane nor are able to be applied #8968

@terryaney

Description

@terryaney

Type: Bug

Issue Description

Code suggestions show one thing, but actions show completely different and from Problems pane, it shows nothing.

Steps to Reproduce

Hovering issue shows this, suggestion seems to match Problems pane.

Image

Invoking code suggestion from editor shows completely different list (I want to simply apply the ' ' suggestion)

Image

Right clicking in Problems pane doesn't show any possible suggestions to apply (normally it does except on this ' ' suggestion)

Image

Expected Behavior

Code suggestions match and 'work' as expected.

Extension version: 2.120.3
VS Code version: Code 1.109.0 (bdd88df003631aaa0bcbe057cb0a940b80a476fa, 2026-02-04T02:01:38.288Z)
OS version: Windows_NT x64 10.0.26200
Modes:

Logs

Environment Information

VSCode version: 1.109.0
C# Extension: 2.120.3
Using OmniSharp: true

Dotnet Information .NET SDK: Version: 10.0.102 Commit: 4452502459 Workload version: 10.0.100-manifests.6d969a7e MSBuild version: 18.0.7+445250245

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.102\

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.2
Architecture: x64
Commit: 4452502459

.NET SDKs installed:
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.604 [C:\Program Files\dotnet\sdk]
2.1.700 [C:\Program Files\dotnet\sdk]
2.1.701 [C:\Program Files\dotnet\sdk]
2.1.801 [C:\Program Files\dotnet\sdk]
2.1.802 [C:\Program Files\dotnet\sdk]
5.0.408 [C:\Program Files\dotnet\sdk]
7.0.120 [C:\Program Files\dotnet\sdk]
9.0.309 [C:\Program Files\dotnet\sdk]
10.0.102 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
auto-close-tag formulahendry 0.5.15 formulahendry.auto-close-tag-0.5.15
bracket-select chunsen 2.0.2 chunsen.bracket-select-2.0.2
claude-code Anthropic 2.1.34 anthropic.claude-code-2.1.34-win32-x64
command-variable rioj7 1.69.0 rioj7.command-variable-1.69.0
copilot-chat GitHub 0.37.1 github.copilot-chat-0.37.1
csharp ms-dotnettools 2.120.3 ms-dotnettools.csharp-2.120.3-win32-x64
dotnet-test-explorer formulahendry 0.7.8 formulahendry.dotnet-test-explorer-0.7.8
file-change-follower DamianEdwards 0.2.1 damianedwards.file-change-follower-0.2.1
gitlens eamodio 17.9.0 eamodio.gitlens-17.9.0
live-server ms-vscode 0.4.17 ms-vscode.live-server-0.4.17
LiveServer ritwickdey 5.7.9 ritwickdey.liveserver-5.7.9
powershell ms-vscode 2025.4.0 ms-vscode.powershell-2025.4.0
rainbow-csv mechatroner 3.24.1 mechatroner.rainbow-csv-3.24.1
rest-client humao 0.25.1 humao.rest-client-0.25.1
t4-support zbecknell 0.7.0 zbecknell.t4-support-0.7.0
theme-monokai-pro-vscode monokai 2.0.12 monokai.theme-monokai-pro-vscode-2.0.12
volar Vue 3.2.4 vue.volar-3.2.4
vs-code-intellisense-katapp conduent-kat-team 1.0.7 conduent-kat-team.vs-code-intellisense-katapp-1.0.7
vscode-autohotkey-plus-plus mark-wiemer 6.7.3 mark-wiemer.vscode-autohotkey-plus-plus-6.7.3
vscode-autohotkey2-lsp thqby 2.8.2 thqby.vscode-autohotkey2-lsp-2.8.2
vscode-coverage-gutters ryanluker 2.14.0 ryanluker.vscode-coverage-gutters-2.14.0
vscode-dotnet-runtime ms-dotnettools 3.0.0 ms-dotnettools.vscode-dotnet-runtime-3.0.0
vscode-icons vscode-icons-team 12.17.0 vscode-icons-team.vscode-icons-12.17.0
vscode-nuget-gallery patcx 1.2.4 patcx.vscode-nuget-gallery-1.2.4
vscode-speech ms-vscode 0.16.0 ms-vscode.vscode-speech-0.16.0-win32-x64
vscode-xml redhat 0.29.0 redhat.vscode-xml-0.29.0-win32-x64
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x1f02 [NVIDIA GeForce RTX 2070], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.8129 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.94GB (8.32GB free)
Process Argv --log info --crash-reporter-id 324c4641-8e15-4efb-9bdc-b30d565fb957
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
6abeh943:31336334
cloudbuttont:31379625
aihoversummaries_f:31453033
42190218_ostrepl:31403339
56b7f661:31457055
use-responses-api:31390855
defaultusage:31403421
je187915:31401257
ec5jj548:31422691
cmp-ext-treat:31426748
cp_cls_t_966_ss:31454198
c0683394:31458171
ge8j1254_inline_auto_hint_haiku:31431912
nes-autoexp-off:31446584
a5gib710:31434435
5j92g670_sonnet:31457540
rename_enabled:31436409
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_c:31457102
31c7i317_no_change:31458090
preserve_tokens:31444547
cp_cls_t_1081:31454832
copilot-nes-oct-trt:31432596
ia-use-proxy-models-svc:31452481
nes-slash-models-on:31441832
nes-set-to-on:31441941
a43f0576c:31442824
c0ci8992_validated:31449878
nes-conv-1-3:31447850
nostats:31457175
pp-44cc9697:31455969
b1f5h706:31458075
nes-extended-on:31455476
anthropic_tst_c:31457103
chat:31457767

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions