Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/fundamentals/code-analysis/quality-rules/ca2109.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ ms.author: gewarren

A public or protected event-handling method was detected.

> [!NOTE]
> This rule has been deprecated. It last shipped with Microsoft.CodeAnalysis.NetAnalyzers 7.0.0 NuGet package and the .NET 7 SDK.
>
> The rule was removed because the threat that the analyzer warned about (an untrusted intermediary hooking a privileged event handler to a privileged event invoker) hasn't existed since .NET Framework 4.5.

## Rule description

An externally visible event-handling method presents a security issue that requires review.
Expand Down