dotnet / dotnet/vscode-csharp

Can't view C# Source Code after Decomplication Enabled

Open
#6,924 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

Hello,

I cannot view the c# source code with the standard libraries in C#. Here are the steps to reproduce.

## Steps to reproduce

1. Open vscode.
2. Go to settings -> extensions -> and -> C# -> Omnisharp -> Omnisharp: Enable Decomplication Support
3. Click on the checkbox next to "Enables support for decompiling external references instead of viewing metadata":

image

4. Type any c# line using standard functions or classes. For example: var list = new List(); Then right click on List and select "Go to implementations".

## Expected behavior
This should go to the source code for the generic List class in System.Collections.Generic

## Actual behavior

This does not actually go to source code and just says "No implementation found for List":

image

## Additional context
I have seen other posts about this such as the following: https://github.com/dotnet/vscode-csharp/issues/4817

but not actually able to find where to put the following command: "CSharp: Show the decompiler terms agreement"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.