Go to Definition No reference found for ''
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 18h 40m
- Merged PRs (30d)
- 31
Description
## Issue Description ##
## Steps to Reproduce ##
```cs
Product prd1 = new();
List prds = new() { prd1 };
var a = prds.Select(x => new { x.Name });
Console.WriteLine(a);
public class Product
{
public string Name { get; init; } = "";
public string Value { get; init; } = "";
}
```
Go to Definition Name:

## Environment information ##
**VSCode version**: 1.74.0
**C# Extension**: 1.25.2
Mono Information
OmniSharp using mono: 6.12.0
Dotnet Information
.NET SDK:
Version: 7.0.100
Commit: e12b7af219
运行时环境:
OS Name: Mac OS X
OS Version: 13.0
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.100/
Host:
Version: 7.0.0
Architecture: arm64
Commit: d099f075e4
.NET SDKs installed:
6.0.401 [/usr/local/share/dotnet/sdk]
6.0.403 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64 [/usr/local/share/dotnet]
registered at [/etc/dotnet/install_location_x64]
Environment variables:
Not set
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|
|---|---|---|
|bash-beautify|shakram02|0.1.1|
|Bookmarks|alefragnani|13.3.1|
|clang-format|xaver|1.9.0|
|csharp|ms-dotnettools|1.25.2|
|data-workspace-vscode|ms-mssql|0.3.0|
|dot|Stephanvs|0.0.1|
|dotnet-solution-explorer|hunterFreemanPublish|1.2.4|
|EditorConfig|EditorConfig|0.16.4|
|gitlens|eamodio|13.1.1|
|go|golang|0.36.0|
|graphviz-preview|EFanZh|1.3.3|
|hexeditor|ms-vscode|1.9.9|
|light-plus-tweaked|perragnaredin|1.1.16|
|markdown-all-in-one|yzhang|3.5.0|
|markdown-mermaid|bierner|1.16.0|
|mssql|ms-mssql|1.16.0|
|ng-template|Angular|15.0.2|
|output-colorizer|IBM|0.1.2|
|powershell|ms-vscode|2022.11.0|
|prettier-vscode|esbenp|9.10.3|
|remote-containers|ms-vscode-remote|0.266.1|
|remote-explorer|ms-vscode|0.0.2|
|remote-ssh|ms-vscode-remote|0.92.0|
|remote-ssh-edit|ms-vscode-remote|0.84.0|
|remote-wsl|ms-vscode-remote|0.72.0|
|rest-client|humao|0.25.1|
|sourcegraph|sourcegraph|2.2.14|
|sql-database-projects-vscode|ms-mssql|0.19.0|
|todo-tree|Gruntfuggly|0.0.220|
|vscode-docker|ms-azuretools|1.23.1|
|vscode-language-pack-zh-hans|MS-CEINTL|1.73.11090913|
|vscode-lldb|vadimcn|1.8.1|
|vscode-markdownlint|DavidAnson|0.48.1|
|vscode-nginx-conf-hint|hangxingliu|0.3.0|
|vscode-remote-extensionpack|ms-vscode-remote|0.23.0|
|vscode-solution-explorer|fernandoescolar|0.7.4|
|vscode-yaml|redhat|1.10.1|
|xml|DotJoshJohnson|2.5.1|;
Contributor guide
Assessment
This issue has not been assessed yet.