Let Stryker mutate the variant name rule
The is-not pattern binding made every mutant in RefuseVariantNameSharing a compile error, so Stryker removed the whole method from its run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
41b964c6f1
commit
9b23b33f8c
1 changed files with 2 additions and 1 deletions
|
|
@ -2761,7 +2761,8 @@ namespace GameCult.Caching
|
|||
|
||||
foreach (var variant in landing.Values.Where(stored => stored.Variant != null))
|
||||
{
|
||||
if (plan.Projections[variant.Key.Value].Name is not { } variantName)
|
||||
var variantName = plan.Projections[variant.Key.Value].Name;
|
||||
if (variantName == null)
|
||||
continue;
|
||||
for (var ancestor = Ancestor(variant.Variant!.BaseKey); ancestor != null;
|
||||
ancestor = ancestor.Variant == null ? null : Ancestor(ancestor.Variant.BaseKey))
|
||||
|
|
|
|||
Loading…
Reference in a new issue