Describe the bug
I'm using Stryker .NET version 3.13.1 and .NET7 and I get the following error, when I try to mutate my solution using 'dotnet stryker':
Logs
Unhandled exception. System.InvalidOperationException: Cannot inject mutation 'messages.FirstOrDefault' in 'Timestamp' because we cannot find the original code.
at Stryker.Core.Helpers.RoslynHelper.InjectMutation[T](T sourceNode, Mutation mutation) in /_/src/Stryker.Core/Stryker.Core/Helpers/RoslynHelper.cs:line 122
at Stryker.Core.Mutants.MutationStore.<>cDisplayClass17_0.b_0(Mutant m) in //src/Stryker.Core/Stryker.Core/Mutants/MutationStore.cs:line 145
at System.Linq.Enumerable.SelectListIterator2.MoveNext() at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func) at Stryker.Core.Mutants.MutantPlacer.PlaceExpressionControlledMutations(ExpressionSyntax original, IEnumerable1 mutants) in //src/Stryker.Core/Stryker.Core/Mutants/MutantPlacer.cs:line 115
at Stryker.Core.Mutants.MutationStore.PlaceExpressionMutations(ExpressionSyntax expression, Func`2 mutationFunc) in //src/Stryker.Core/Stryker.Core/Mutants/MutationStore.cs:line 145
at Stryker.Core.Mutants.MutationContext.InjectExpressionLevel(ExpressionSyntax mutatedNode, ExpressionSyntax sourceNode) in //src/Stryker.Core/Stryker.Core/Mutants/MutationContext.cs:line 172
at Stryker.Core.Mutants.CsharpNodeOrchestrators.ExpressionSpecificOrchestrator`1.InjectMutations(T sourceNode, ExpressionSyntax targetNode, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/ExpressionSpecificOrchestrator.cs:line 16
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>cDisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMemberAccessExpression(MemberAccessExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c__DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>cDisplayClass7_0.b_0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList1 list)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>cDisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c__DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>cDisplayClass7_0.b_0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTryStatement(TryStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>cDisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node)
at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func3 computeReplacementNode, IEnumerable1 tokens, Func3 computeReplacementToken, IEnumerable1 trivia, Func3 computeReplacementTrivia)
at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func3 computeReplacementNode)
at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132
at Stryker.Core.Mutants.CsharpMutantOrchestrator.Mutate(SyntaxNode input, SemanticModel semanticModel) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpMutantOrchestrator.cs:line 118
at Stryker.Core.MutationTest.CsharpMutationProcess.Mutate(MutationTestInput input) in //src/Stryker.Core/Stryker.Core/MutationTest/CsharpMutationProcess.cs:line 66
at Stryker.Core.MutationTest.MutationTestProcess.Mutate() in //src/Stryker.Core/Stryker.Core/MutationTest/MutationTestProcess.cs:line 88
at Stryker.Core.Initialisation.ProjectMutator.MutateProject(StrykerOptions options, MutationTestInput input, IReporter reporters) in //src/Stryker.Core/Stryker.Core/Initialisation/ProjectMutator.cs:line 38
at Stryker.Core.Initialisation.ProjectOrchestrator.MutateProjects(StrykerOptions options, IReporter reporters, ITestRunner runner)+MoveNext() in //src/Stryker.Core/Stryker.Core/Initialisation/ProjectOrchestrator.cs:line 68
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Stryker.Core.StrykerRunner.RunMutationTest(IStrykerInputs inputs, ILoggerFactory loggerFactory, IProjectOrchestrator projectOrchestrator) in //src/Stryker.Core/Stryker.Core/StrykerRunner.cs:line 61
at Stryker.CLI.StrykerCli.RunStryker(IStrykerInputs inputs) in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 102
at Stryker.CLI.StrykerCli.<>cDisplayClass11_0.b_0() in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 74
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>cDisplayClass143_0.b_0(CancellationToken )
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Stryker.CLI.StrykerCli.Run(String[] args) in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 80
at Stryker.CLI.Program.Main(String[] args) in //src/Stryker.CLI/Stryker.CLI/Program.cs:line 14
Expected behavior
The command mutates my solution
Desktop (please complete the following information):
OS: Windows
Type of project: .NET7
Framework Version: .NET7
Stryker Version: 3.13.1
Additional context
Let me know if there's more information I can provide! This is a closed source application so I cannot share too much details.
Thanks for reporting it. This is a known issue (see #2825 for further details). A fix has been integrated and the team is working an releasing it ASAP.
Duplicate
Describe the bug I'm using Stryker .NET version 3.13.1 and .NET7 and I get the following error, when I try to mutate my solution using 'dotnet stryker':
Logs Unhandled exception. System.InvalidOperationException: Cannot inject mutation 'messages.FirstOrDefault' in 'Timestamp' because we cannot find the original code. at Stryker.Core.Helpers.RoslynHelper.InjectMutation[T](T sourceNode, Mutation mutation) in /_/src/Stryker.Core/Stryker.Core/Helpers/RoslynHelper.cs:line 122 at Stryker.Core.Mutants.MutationStore.<>cDisplayClass17_0.b_0(Mutant m) in //src/Stryker.Core/Stryker.Core/Mutants/MutationStore.cs:line 145
at System.Linq.Enumerable.SelectListIterator DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb 0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb_0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb 0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb_0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer DisplayClass7_0.b0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb 0(SyntaxNode original, SyntaxNode ) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83
at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacerb_0() in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 74
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c DisplayClass143_0.b_0(CancellationToken )
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Stryker.CLI.StrykerCli.Run(String[] args) in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 80
at Stryker.CLI.Program.Main(String[] args) in //src/Stryker.CLI/Stryker.CLI/Program.cs:line 14
2.MoveNext() at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable
1 source, TAccumulate seed, Func3 func) at Stryker.Core.Mutants.MutantPlacer.PlaceExpressionControlledMutations(ExpressionSyntax original, IEnumerable
1 mutants) in //src/Stryker.Core/Stryker.Core/Mutants/MutantPlacer.cs:line 115 at Stryker.Core.Mutants.MutationStore.PlaceExpressionMutations(ExpressionSyntax expression, Func`2 mutationFunc) in //src/Stryker.Core/Stryker.Core/Mutants/MutationStore.cs:line 145 at Stryker.Core.Mutants.MutationContext.InjectExpressionLevel(ExpressionSyntax mutatedNode, ExpressionSyntax sourceNode) in //src/Stryker.Core/Stryker.Core/Mutants/MutationContext.cs:line 172 at Stryker.Core.Mutants.CsharpNodeOrchestrators.ExpressionSpecificOrchestrator`1.InjectMutations(T sourceNode, ExpressionSyntax targetNode, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/ExpressionSpecificOrchestrator.cs:line 16 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMemberAccessExpression(MemberAccessExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c__DisplayClass7_0.1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitEqualsValueClause(EqualsValueClauseSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable
1 nodes, Func3 computeReplacementNode, IEnumerable
1 tokens, Func3 computeReplacementToken, IEnumerable
1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable
1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.<>cDisplayClass7_0.1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList
1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitVariableDeclaration(VariableDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable
1 nodes, Func3 computeReplacementNode, IEnumerable
1 tokens, Func3 computeReplacementToken, IEnumerable
1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable
1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c__DisplayClass7_0.1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList
1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable
1 nodes, Func3 computeReplacementNode, IEnumerable
1 tokens, Func3 computeReplacementToken, IEnumerable
1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable
1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.<>cDisplayClass7_0.1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitTryStatement(TryStatementSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.<>c1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList
1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitBlock(BlockSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable
1 nodes, Func3 computeReplacementNode, IEnumerable
1 tokens, Func3 computeReplacementToken, IEnumerable
1 trivia, Func3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable
1 nodes, Func3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.<>c__DisplayClass7_0.1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitMethodDeclaration(MethodDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitClassDeclaration(ClassDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitNamespaceDeclaration(NamespaceDeclarationSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator`2.MutateSingleNode(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 93 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.<>c__DisplayClass7_0.<OrchestrateChildrenMutation>b__0(SyntaxNode original, SyntaxNode _) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 83 at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitListElement[TNode](TNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitList[TNode](SyntaxList1 list) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.Syntax.SyntaxReplacer.Replacer
1.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode.ReplaceCore[TNode](IEnumerable1 nodes, Func
3 computeReplacementNode, IEnumerable1 tokens, Func
3 computeReplacementToken, IEnumerable1 trivia, Func
3 computeReplacementTrivia) at Microsoft.CodeAnalysis.SyntaxNodeExtensions.ReplaceNodes[TRoot,TNode](TRoot root, IEnumerable1 nodes, Func
3 computeReplacementNode) at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator2.OrchestrateChildrenMutation(TNode node, SemanticModel semanticModel, MutationContext context) in /_/src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 82 at Stryker.Core.Mutants.CsharpNodeOrchestrators.NodeSpecificOrchestrator
2.Mutate(SyntaxNode node, SemanticModel semanticModel, MutationContext context) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpNodeOrchestrators/NodeSpecificOrchestrator.cs:line 132 at Stryker.Core.Mutants.CsharpMutantOrchestrator.Mutate(SyntaxNode input, SemanticModel semanticModel) in //src/Stryker.Core/Stryker.Core/Mutants/CsharpMutantOrchestrator.cs:line 118 at Stryker.Core.MutationTest.CsharpMutationProcess.Mutate(MutationTestInput input) in //src/Stryker.Core/Stryker.Core/MutationTest/CsharpMutationProcess.cs:line 66 at Stryker.Core.MutationTest.MutationTestProcess.Mutate() in //src/Stryker.Core/Stryker.Core/MutationTest/MutationTestProcess.cs:line 88 at Stryker.Core.Initialisation.ProjectMutator.MutateProject(StrykerOptions options, MutationTestInput input, IReporter reporters) in //src/Stryker.Core/Stryker.Core/Initialisation/ProjectMutator.cs:line 38 at Stryker.Core.Initialisation.ProjectOrchestrator.MutateProjects(StrykerOptions options, IReporter reporters, ITestRunner runner)+MoveNext() in //src/Stryker.Core/Stryker.Core/Initialisation/ProjectOrchestrator.cs:line 68at System.Collections.Generic.List
1..ctor(IEnumerable
1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Stryker.Core.StrykerRunner.RunMutationTest(IStrykerInputs inputs, ILoggerFactory loggerFactory, IProjectOrchestrator projectOrchestrator) in //src/Stryker.Core/Stryker.Core/StrykerRunner.cs:line 61 at Stryker.CLI.StrykerCli.RunStryker(IStrykerInputs inputs) in //src/Stryker.CLI/Stryker.CLI/StrykerCLI.cs:line 102 at Stryker.CLI.StrykerCli.<>cDisplayClass11_0.Expected behavior The command mutates my solution
Desktop (please complete the following information):
Additional context Let me know if there's more information I can provide! This is a closed source application so I cannot share too much details.