Code generation
Roslyn CFG and IL to LLVM IR: one partial per feature area
codebase map
234,107 lines of source, tests and tooling, counted from the repository when this site was built. Each rectangle's area is proportional to its line count; hover a tile for its numbers.
Roslyn CFG and IL to LLVM IR: one partial per feature area
C# sources, projects and IL in; linking, LLVM and targets out
GC, exception dispatch, threads and OS boundaries in C
Library code in C#: BCL types csharpc provides and the contracts the framework IL calls
Programs whose expected output is recorded from real .NET
The slicer, fuzzers, bootstrap, benchmarks, these docs and the workflows
method
Physical lines of every .cs, .c/.h, script, workflow and Markdown file, with build
output skipped. Each file goes to one responsibility by its directory and, inside the code generator, the C runtime and
the corelib, by its file name: the code generator is one FunctionCodeGen.<Feature>.cs partial per
feature area, so the file name says what it lowers. The ICU shim is .NET's own globalization native code, carried so
cultures work without .NET installed. Generated IL slices and recorded .expected outputs are not counted.
The rules live in docs/src/lib/codebase.ts.