dnSpyEx / dnSpy

Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
GNU General Public License v3.0
6.14k stars 412 forks source link

When trying to edit anything that is Async it throws error code CS0656 #283

Closed DxtrPog closed 5 months ago

DxtrPog commented 5 months ago

dnSpyEx version

6.4.1

Describe the Bug

I am trying to mod a Unity project and one of the parts I am trying to change uses Async, all I am trying to do is change a single word but it is unable to build, when built it throws error code CS0656 and says "Missing compiler required member 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitOnCompleted'"

How To Reproduce

Find a Unity Project with asynchronous code and try to edit it :3

Expected Behavior

Compiles and edits the text

Actual Behavior

Throws error code CS0656 and says "Missing compiler required member 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitOnCompleted'"

Additional Context

No response

ElektroKill commented 5 months ago

See https://github.com/dnSpyEx/dnSpy/issues/232 for more information