TypeName | CopyEventToVariableBeforeFireAnalyzer |
Check Id | CC0016 |
Category | Design |
Severity | Warning |
Events should always be checked for null before being invoked.
As in a multi-threading context it is possible for an event to be unsuscribed between the moment where it is checked to be non-null and the moment it is raised, the event must be copied to a temporary variable before the check.
A code fix will be presented to you that will transform the code:
TBD