Resolve 8 critical SonarQube issues (BLOCKER + CRITICAL non-S3776) #2

Merged
bermudalamb merged 10 commits from fix/Sonarqube-Tech-Debt into main 2026-05-19 17:26:28 -05:00
Showing only changes of commit e2bfe3906a - Show all commits
@@ -1,9 +1,12 @@
using System.Diagnostics.CodeAnalysis;
namespace Strata.SqlTools.Rules.Rule.Expression;
/// <summary>
/// Provides implicit conversion operators and comparison operators for rule expressions.
/// </summary>
#pragma warning disable CS0660, CS0661
[SuppressMessage("Major Code Smell", "S3875:\"operator==\" should not be overloaded on reference types", Justification = "Intentional DSL syntax: `expr1 == expr2` constructs a Comparison rule expression, not a bool. The existing CS0660/CS0661 pragma documents the deliberate omission of Equals/GetHashCode for the same reason.")]
public partial class Expression
#pragma warning restore CS0660, CS0661
{