Skip to content

Navigate to disassembled source fails to check for SuppressIldasmAttribute #24175

@sharwell

Description

@sharwell

Version Used: 15.6 Preview 2

Steps to Reproduce:

  1. Create a library which has [assembly: SuppressIldasm] applied to it
  2. In a separate project, add a reference to the assembly produced by step 1
  3. Invoke a method defined in the library, and use Go To Definition

Expected Behavior:

The metadata as source window appears, without showing decompiled method bodies.

Actual Behavior:

The code runs through ILSpy and shows decompiled method bodies.

Metadata

Metadata

Assignees

Labels

Area-IDEBugResolution-FixedThe bug has been fixed and/or the requested behavior has been implementedTenet-ComplianceViolation of compliance with things like signing, security, legality, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions