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
With the F9/Ctrl-F9 IL function, it would be great if comments would persist through to the generated IL, then we could do something like this...
In fact every statement could be wrapped in a // START STATEMENT and // END STATEMENT automatically to help find the part of interest and ignore the wrapping async state machine code.
The text was updated successfully, but these errors were encountered:
Unfortunately, comments are stripped during the compilation process, so I don't think preserving comments is possible.
I like the suggestion to use comments to show the corresponding C#. We actually use the ILSpy library internally in CSharpRepl, so it'd depend on finding the right disassembler setting. The code in CSharpRepl involved with this is in Disassembler.cs -- Pull Requests welcome 😄
Feature Description
With the
F9
/Ctrl-F9
IL function, it would be great if comments would persist through to the generated IL, then we could do something like this...In fact every statement could be wrapped in a
// START STATEMENT
and// END STATEMENT
automatically to help find the part of interest and ignore the wrapping async state machine code.The text was updated successfully, but these errors were encountered: