代码定义 Window(Visual Studio 2022)是否支持 C# 项目?

Does Code Definition Window (of Visual Studio 2022) support C# projects?

我在这篇文章上读到了这个 https://devblogs.microsoft.com/visualstudio/whats-new-in-net-productivity-with-visual-studio-2022/

The Code Definition Window now supports C# and Visual Basic allowing you to quickly understand and explore code. To use the Code Definition Window, select View > Window > Code Definition. Next, place your cursor on an identifier to navigate and explore code.

但是,它在我的电脑上不起作用。代码定义 Window 仅显示“未选择定义”。它适用于 C++ 项目。

我错过了什么吗?

看起来这是 Visual Studio 2022 版本 17.1 预览版 1 功能

NET Productivity

  • Go To Definition from source information in PDBs.
  • IntelliSense completion for await within an awaitable expression.
  • Move static members to a new type refactoring.
  • Simplify code to use the new C# 10.0 extended property patterns refactoring.
  • Detect variable swaps and suggest using a tuple to swap values refactoring.
  • Code definition window support for C# and Visual Basic.
  • ...

https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview