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: Event is never subscribed to (private accessibility)

Last modified: 04 June 2024

This inspection reports cases when a private event is declared, but there is no code that subscribes to this event anywhere in the current local scope. It means that the event, when raised, will not lead to any action being performed.