Skip to content

Commit a978c0f

Browse files
x789gewarren
andauthored
Add deprecation-notice to rule CA2109 (#31797)
* Add deprecation notice (see dotnet/roslyn-analyzers#5974) * Update docs/fundamentals/code-analysis/quality-rules/ca2109.md Co-authored-by: Genevieve Warren <[email protected]> * Update docs/fundamentals/code-analysis/quality-rules/ca2109.md Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Genevieve Warren <[email protected]>
1 parent 8b86f7b commit a978c0f

File tree

1 file changed

+5
-0
lines changed
  • docs/fundamentals/code-analysis/quality-rules

1 file changed

+5
-0
lines changed

docs/fundamentals/code-analysis/quality-rules/ca2109.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ ms.author: gewarren
2424

2525
A public or protected event-handling method was detected.
2626

27+
> [!NOTE]
28+
> This rule has been deprecated. It last shipped with Microsoft.CodeAnalysis.Analyzers v3.3.0.
29+
>
30+
> 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.
31+
2732
## Rule description
2833

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

0 commit comments

Comments
 (0)