You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
martin-strecker-sonarsource
changed the title
Make UtilityAnalyzerBase stateless by removing properties
UtilityAnalyzer: Make UtilityAnalyzerBase stateless by removing properties
Jun 12, 2023
Analyzers should be stateless (this helps with thread contention and other potential concurrency issues).
In order for the
UtilityAnalyzerBase
to be stateless the properties (line 33 - 39) should be removed from this class and injected via a read-only structure.See here an implementation of this idea.
The text was updated successfully, but these errors were encountered: