You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a .NET DLL from Microsoft Azure DevOps agent: Agent.Worker.dll, some functions, do not decompile correctly.
It shows the content with wrong data, some variables like <>t__builder, <>4__this, and so on. See in the "Actual Behaviour" how the function looks like.
Start dnSpy 6.4.1, and open Agent.Worker.dll: File -> Open -> Choose Agent.Worker.dll and press Open.
Go to the class JobRunner: Agent.Worker -> Agent.Worker.dll -> Microsoft.VisualStudio.Services.Agent.Worker -> JobRunner.
Then search for the function RunAsync (line 29) and you will see the function.
This is what it looks like:
Expected Behavior
The function should look like it appears in the source code:
this new lang feature is supported in newer version of ILSpy, while currently dnspy is heavily modified old version of ILSpy. Need to wait for the new ILSpy based version works, then this will be solved.
dnSpyEx version
6.4.1
Describe the Bug
When loading a .NET DLL from Microsoft Azure DevOps agent:
Agent.Worker.dll
, some functions, do not decompile correctly.It shows the content with wrong data, some variables like
<>t__builder
,<>4__this
, and so on. See in the "Actual Behaviour" how the function looks like.How To Reproduce
Go to azure-pipelines-agent release and download the vsts-agent-win-x64-3.230.0.zip.
Extract the
Agent.Worker.dll
from ZIP:Start dnSpy 6.4.1, and open
Agent.Worker.dll
: File -> Open -> Choose Agent.Worker.dll and press Open.Go to the class
JobRunner
: Agent.Worker -> Agent.Worker.dll -> Microsoft.VisualStudio.Services.Agent.Worker -> JobRunner.Then search for the function
RunAsync
(line 29) and you will see the function.This is what it looks like:
Expected Behavior
The function should look like it appears in the source code:
Actual Behavior
When decompiling it with dnSpy 6.4.1 it doesn't show the real content of the function:
Additional Context
With ILSpy (version 8.2.7535) it works correctly:
The text was updated successfully, but these errors were encountered: