ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Code inspection: Sealed member in sealed class

Last modified: 11 February 2024

Consider the following snippet:

Marking the Derived.Change() method as sealed is redundant because the whole class it happens to be in is marked as sealed.