Finding Types That Can Be Sealed With Roslyn

The text explains how to use Roslyn to find all types in a codebase that can be marked as sealed. It says that marking types as sealed can help stop further inheritance and is safe because removing the sealed mark later does not break the code.
July 07, 2025
28
283