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

Decompilation does not support "collapse to definitions" #1485

Closed
CyrusNajmabadi opened this issue Apr 26, 2018 · 7 comments
Closed

Decompilation does not support "collapse to definitions" #1485

CyrusNajmabadi opened this issue Apr 26, 2018 · 7 comments

Comments

@CyrusNajmabadi
Copy link
Member

For example, Decompile "ImmutableArray". Now try to collapse to definitions. The option is in the menu, but it has no effect. This makes decompile a pretty poor MAS replacement as it's super hard to actually get a sense of all the structure of the type.

What is also weird is that some things are collapsed in the decompile view. For example:

image

The attributes are collapsed. However:

  1. The comments are not collapsible.
  2. Class bodies and method bodies are not collapsible.

I actually have no idea what's going on, but it's not good :)

@CyrusNajmabadi
Copy link
Member Author

Also: disabling "navigate to external sources" has no effect. Even if i disable it, if i try to go back to ImmutableArray, it takes me back to this file.

@CyrusNajmabadi
Copy link
Member Author

Tagging @sharwell . This is related to: dotnet/roslyn#26426

Namely that decompilation should not hijack MAS while the experience is so jarringly poor (comparatively).

@CyrusNajmabadi
Copy link
Member Author

Here is the experience i get with MAS:

image

I would love if we could be very close to that, just with actual decompiled code.

@yaakov-h
Copy link
Member

Umm... isn’t this a Roslyn/IDE issue?

@CyrusNajmabadi
Copy link
Member Author

Damnit.

@CyrusNajmabadi
Copy link
Member Author

Ported to: dotnet/roslyn#26436

Closing this out.

@CyrusNajmabadi
Copy link
Member Author

Thanks @yaakov-h

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