Metalama
Metalama copied to clipboard
Metalama.Tests.NopCommerce generates invalid syntax trees during benchmarking
The actual should be determined and this ticket should be renamed.
C:\Dev\Metalama.Tests.NopCommerce\src\Libraries\Nop.Core\Infrastructure\ConcurrentTrie.cs(699,52): error CS0206: A non ref-returning property or indexer may not be used as an out or ref value
C:\Dev\Metalama.Tests.NopCommerce\src\Libraries\Nop.Core\Infrastructure\ConcurrentTrie.cs(717,59): error CS0206: A non ref-returning property or indexer may not be used as an out or ref value
Steps to reproduce in Metalama.Tests.NopCommerce repo, topic/2026.0/performance-testing branch.
dotnet restore src
dotnet msbuild src\Libraries\Nop.Core /p:ExtraConstants=BENCHMARK /p:MetalamaEnabled=true /p:BenchmarkedTypesFractionInverse=1 /p:BenchmarkedMembersFractionInverse=1 /p:MetalamaEmitCompilerTransformedFiles=True /p:MetalamaFormatOutput=True