Skip to content

Intermediate Language syntax highlighting and original c# in comments#470

Merged
waf merged 1 commit into
mainfrom
il-syntax-highlight-and-comments
Jun 6, 2026
Merged

Intermediate Language syntax highlighting and original c# in comments#470
waf merged 1 commit into
mainfrom
il-syntax-highlight-and-comments

Conversation

@waf
Copy link
Copy Markdown
Owner

@waf waf commented Jun 6, 2026

Use ILSpy's sequence points feature to put original C# source code in the IL as comments. Syntax highlight that C# code, and also provide some very light syntax highlighting to the IL itself:

image

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

❌ Patch coverage is 90.56604% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.4%. Comparing base (e4d89e3) to head (6e54cf3).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rvices/Disassembly/PortablePdbDebugInfoProvider.cs 78.0% 9 Missing and 2 partials ⚠️
CSharpRepl.Services/Disassembly/Disassembler.cs 88.7% 7 Missing and 3 partials ⚠️
...sassembly/IntermediateLanguageSyntaxHighlighter.cs 94.8% 5 Missing and 3 partials ⚠️
CSharpRepl/CSharpReplPromptCallbacks.cs 75.0% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #470     +/-   ##
=======================================
+ Coverage   70.4%   71.4%   +1.0%     
=======================================
  Files         94      96      +2     
  Lines       6837    7133    +296     
  Branches    1006    1056     +50     
=======================================
+ Hits        4815    5095    +280     
- Misses      1694    1700      +6     
- Partials     328     338     +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waf waf merged commit 45245e1 into main Jun 6, 2026
3 checks passed
@waf waf deleted the il-syntax-highlight-and-comments branch June 6, 2026 18:18
@waf waf review requested due to automatic review settings June 6, 2026 18:32
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.

1 participant