Skip to content

fix: remove struct constraint from Guard.Against.Expression to support reference types (#339) - #406

Open
Moha-sami wants to merge 2 commits into
ardalis:mainfrom
Moha-sami:fix-expression-reference-types
Open

fix: remove struct constraint from Guard.Against.Expression to support reference types (#339)#406
Moha-sami wants to merge 2 commits into
ardalis:mainfrom
Moha-sami:fix-expression-reference-types

Merge branch 'main' into fix-expression-reference-types

c802c83
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 17, 2026 in 11s

Annotations

Check failure on line 117 in test/GuardClauses.UnitTests/GuardAgainstExpression.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=ardalis_GuardClauses&issues=AaAQz2Fonr57X1Rx7Vsu&open=AaAQz2Fonr57X1Rx7Vsu&pullRequest=406