Skip to content

feat: union-typed setup and verify overloads for C# 15 - #856

Open
vbreuss wants to merge 20 commits into
mainfrom
feat/union-parameters
Open

vbreuss wants to merge 20 commits into
mainfrom
feat/union-parameters

fix: address review findings in the union parameter generation

02afaf4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 31, 2026 in 24s

Quality Gate failed

Failed conditions
3 New issues
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 264 in Source/Mockolate.SourceGenerators/Sources/Sources.MockClass.Unions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable.

See more on https://sonarcloud.io/project/issues?id=Testably_Mockolate&issues=AaGSxgxbeRS3ER4Ay14k&open=AaGSxgxbeRS3ER4Ay14k&pullRequest=856

Check warning on line 266 in Source/Mockolate.SourceGenerators/Sources/Sources.MockClass.Unions.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Testably_Mockolate&issues=AaGSxgxbeRS3ER4Ay14j&open=AaGSxgxbeRS3ER4Ay14j&pullRequest=856

Check warning on line 184 in Tests/Mockolate.SourceGenerators.Tests/UnionParameterArgTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change return type of method 'CreateCompilation' from 'Microsoft.CodeAnalysis.Compilation' to 'Microsoft.CodeAnalysis.CSharp.CSharpCompilation' for improved performance

See more on https://sonarcloud.io/project/issues?id=Testably_Mockolate&issues=AaGSxgvdeRS3ER4Ay14i&open=AaGSxgvdeRS3ER4Ay14i&pullRequest=856