diff --git a/src/Exercism.TestRunner.CSharp/TestsRewriter.cs b/src/Exercism.TestRunner.CSharp/TestsRewriter.cs index f46214e..b056827 100644 --- a/src/Exercism.TestRunner.CSharp/TestsRewriter.cs +++ b/src/Exercism.TestRunner.CSharp/TestsRewriter.cs @@ -96,7 +96,7 @@ public override SyntaxNode VisitConstructorDeclaration(ConstructorDeclarationSyn Argument( IdentifierName("_stringWriter")))))))); - public override SyntaxNode? VisitMethodDeclaration(MethodDeclarationSyntax node) + public override SyntaxNode VisitMethodDeclaration(MethodDeclarationSyntax node) { if (node.Identifier.Text == "Dispose") return base.VisitMethodDeclaration(