Repository navigation
Analyzers
github-actions[bot] edited this page Dec 2, 2026
·
1 revision
Faultline.Analyzers ships compile-time diagnostics that catch non-deterministic escapes IL rewriting cannot safely virtualize:
| Rule ID | Severity | Description |
|---|---|---|
FL0001 |
Warning | Direct new Thread(...) bypasses Faultline's single-threaded scheduler; use Task.Run instead. |
FL0002 |
Warning |
Parallel.* and PLINQ (AsParallel()) dispatch work to real multi-threaded CLR ThreadPool workers. |
FL0003 |
Warning |
Thread.Sleep(...) blocks the single-threaded simulation loop; use await Task.Delay(...) instead. |
FL0004 |
Warning |
[DllImport] / [LibraryImport] P/Invoke methods cannot be intercepted by IL rewriting. |