diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-08-21 18:38:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-21 18:38:32 +0200 |
| commit | 84643e328df6b194eb4de893b8b5e232af5e2a0c (patch) | |
| tree | 2ee289769254856bc1d2e878a8a1eb2a1ac798c3 /jellyfin.ruleset | |
| parent | d3f8874a3e5ae9d6879a225e04a4ade922fc6c2d (diff) | |
Reduce the amount of allocations in GetWhereClauses (#10114)
Diffstat (limited to 'jellyfin.ruleset')
| -rw-r--r-- | jellyfin.ruleset | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset index c846e2cd41..505d35481f 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -89,6 +89,8 @@ <Rule Id="CA1727" Action="Error" /> <!-- error on CA1813: Avoid unsealed attributes --> <Rule Id="CA1813" Action="Error" /> + <!-- error on CA1834: Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string --> + <Rule Id="CA1834" Action="Error" /> <!-- error on CA1843: Do not use 'WaitAll' with a single task --> <Rule Id="CA1843" Action="Error" /> <!-- error on CA1845: Use span-based 'string.Concat' --> |
