How dotnet/runtime works
This repository is the .NET runtime, class libraries, and shared host described by the README. The graph highlights runtime services, managed libraries, diagnostics, and WebAssembly hosting; it is not a complete map of every platform implementation. Relationships are included only where the README or supplied source excerpts and SOURCE INDEX support them; unsampled subsystems are represented without guessed call paths.
Main entry points: JSEngineHost.cs JavaScript engine host · ep-buffer-manager.c EventPipe buffers · Dictionary.cs Dictionary · Contains.cs LINQ Contains
Components 21
Runtime Core
- CoreCLR runtime
- Assembly binding
src/coreclr/binder/defaultassemblybinder.cpp - Reflection
src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs - Mono runtime
src/mono/mono/metadata/memory-manager.c - WebAssembly runtime
src/mono/wasm/host/JSEngineHost.cs
Managed Libraries
- Dictionary
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/Dictionary.cs - LINQ Contains
src/libraries/System.Linq/src/System/Linq/Contains.cs - Equality comparer
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.cs - Task async work
src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs - Cancellation token
src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs - Isolated storage
src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs - Composition imports
src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ImportEngine.PartManager.cs
Diagnostics
- Debugger engine
src/mono/mono/component/debugger-engine.c - Debugger transport
src/coreclr/debug/di/dbgtransportpipeline.cpp - Crash dumps
src/coreclr/debug/createdump/createdumpmain.cpp - EventPipe buffers
src/native/eventpipe/ep-buffer-manager.c
Hosting
- JavaScript engine host
src/mono/wasm/host/JSEngineHost.cs - Host arguments
src/mono/wasm/host/JSEngineArguments.cs
Other components
- Application developer
- JavaScript engine
- Runtime, libraries, and shared host
Connections 11
- Application developer → Runtime, libraries, and shared host: uses
- Runtime, libraries, and shared host → CoreCLR runtime: includes runtime
- Runtime, libraries, and shared host → Mono runtime: includes runtime
- Runtime, libraries, and shared host → Dictionary: includes libraries
- Runtime, libraries, and shared host → JavaScript engine host: includes shared host
- LINQ Contains → Equality comparer: compares elements
src/libraries/System.Linq/src/System/Linq/Contains.cs - Task async work → Cancellation token: checks cancellation
src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs - Composition imports → Dictionary: stores imports
src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/ImportEngine.PartManager.cs - JavaScript engine host → Host arguments: parses arguments
src/mono/wasm/host/JSEngineHost.cs - JavaScript engine host → JavaScript engine: launches process
src/mono/wasm/host/JSEngineHost.cs - EventPipe buffers → EventPipe buffers: writes events
src/native/eventpipe/ep-buffer-manager.c