JetBrains / JetBrains/Refasmer

ReferenceAssemblyAttribute in System.Diagnostics.StackTrace?

Open
#25 5 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C#
Stars
94
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Attempting to make a reference assembly from another .NET 6 assembly. .NET 6 assembly... seems pretty normal. No ReferenceAssemblyAttribute on it.... run refasmer.

refasmer -o foo.dll -r bar.dll

Looking in foo.dll, in ildasm, I see:

`.custom instance void [System.Diagnostics.StackTrace]System.Runtime.CompilerServices.ReferenceAssemblyAttribute::.ctor() = ( 01 00 00 00 ) `

System.Diagnostics.StackTrace? What?

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with `refasmer -o foo.dll -r bar.dll`, then inspect the generated foo.dll in ildasm. Trace why the output contains ReferenceAssemblyAttribute from System.Diagnostics.StackTrace and determine the expected assembly reference behavior. Done means the unexpected attribute or reference is corrected, with the reported command still producing a valid reference assembly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.