Skip to content

Add basic code of IL with C# #545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

limuy2022
Copy link

Sorry, I think I am not familiar enough with C# and ILSpy, so I can't finish it by myself. But I have done some simple work, such as adding IL with C# tag. I didn't find an efficient way to combine c# with il (I have noticed SequencePoint but I used it improperly)

Hope my simple work can help you a little.

@Rpinski
Copy link
Member

Rpinski commented Jun 11, 2025

Hi @limuy2022,

Thank you for starting with a first approach. This is how ILSpy application implements this output:

https://github.com/icsharpcode/ILSpy/blob/master/ILSpy/Languages/CSharpILMixedLanguage.cs

There is nothing ATM exposing this to ilspy-vscode's backend, I'll have a look at that as soon as I have time, especially to check if there is any other way than just copying and adapting ILSpy's code. But maybe this is the only way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants