TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
C# Coding Standard

Rule:  9@105

This rule is Obsolete
Synopsis:Implement add/remove accessors if the number of handlers for an event must be limited
Severity Level:8
Category:Delegates and events


If you implement the add and remove accessors of an event, then the CLR will call those accessors when an event handler is added or removed. This allows limiting the number of allowed event handlers, or to check for certain preconditions.