# icsharpcode/ILSpy SLOC report

> As of 2026-11-17 (commit 5b2699936d2f), icsharpcode/ILSpy contains 433,888 total lines: 316,627 code, 75,958 comments, 41,303 blank, across 2,218 files in 24 languages (top language: C# 93.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

icsharpcode/ILSpy has 316,627 source lines of code out of 433,888 total lines across 2,218 files, counted with tokei from the master ref at commit 5b2699936d2f on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving icsharpcode/ILSpy to commit 5b2699936d2f, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

icsharpcode/ILSpy: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.0% of all lines, comments represent 17.5%, and the repository averages 143 code lines per file. C# accounts for 93.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 1,924 | 407,109 | 294,809 | 72,498 | 39,802 |
| JSON | 25 | 9,272 | 9,269 | 0 | 3 |
| AXAML | 32 | 2,872 | 2,298 | 476 | 98 |
| SVG | 76 | 1,737 | 1,732 | 4 | 1 |
| .NET Resource | 5 | 1,916 | 1,598 | 314 | 4 |
| MSBuild | 27 | 2,035 | 1,593 | 246 | 196 |
| Visual Basic | 20 | 1,475 | 1,267 | 19 | 189 |
| PowerShell | 21 | 1,571 | 1,048 | 290 | 233 |
| JavaScript | 2 | 1,203 | 865 | 124 | 214 |
| LESS | 1 | 586 | 472 | 3 | 111 |
| CSS | 1 | 453 | 450 | 3 | 0 |
| YAML | 1 | 367 | 367 | 0 | 0 |

Top language: C# 93.1%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/icsharpcode/ILSpy

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/icsharpcode/ILSpy/commit/5b2699936d2f19f631f37dac27380bc9ce1d7d6a?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=580599c3a76a9dc593aa0300eae03c2a1a3c12597a622bdd6dc2968a738352ab).

## Report FAQ

### How many lines of code does icsharpcode/ILSpy have?

icsharpcode/ILSpy has 316,627 lines of code, plus 75,958 comment lines and 41,303 blank lines, for 433,888 total lines at commit 5b2699936d2f on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the icsharpcode/ILSpy line count measured?

OctoCounts resolved the public GitHub repository to commit 5b2699936d2f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for icsharpcode/ILSpy?

This OctoCounts report was generated from master at commit 5b2699936d2f on November 17, 2026.

## Similar repository reports

- [sharpemu/sharpemu](https://octocounts.com/github/sharpemu/sharpemu) — C#, 306,995 code lines
- [dotnet/ef6](https://octocounts.com/github/dotnet/ef6) — C#, 305,818 code lines
- [SmartlyDressedGames/U3-SDK](https://octocounts.com/github/SmartlyDressedGames/U3-SDK) — C#, 343,116 code lines
- [Radarr/Radarr](https://octocounts.com/github/Radarr/Radarr) — C#, 347,227 code lines
- [openutau/OpenUtau](https://octocounts.com/github/openutau/OpenUtau) — C#, 355,157 code lines
- [NuGet/NuGet.Client](https://octocounts.com/github/NuGet/NuGet.Client) — C#, 280,704 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
