Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't view C# Source Code after Decomplication Enabled #6924

Open
karl-gardner opened this issue Feb 26, 2024 · 1 comment
Open

Can't view C# Source Code after Decomplication Enabled #6924

karl-gardner opened this issue Feb 26, 2024 · 1 comment

Comments

@karl-gardner
Copy link

karl-gardner commented Feb 26, 2024

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
  1. 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: #4817

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

@dibarbet
Copy link
Member

If you're not using O#, the correct option is this:
image

However, we currently we don't decompile source from the SDK. That is tracked by #6784

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants