From af3762f4e242809f87ad54e37ab85d4d6bfdbf3e Mon Sep 17 00:00:00 2001 From: MrXhh <2791341417@qq.com> Date: Mon, 15 Jul 2024 12:22:11 +0800 Subject: [PATCH] fix file path --- .../TransformationCS/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/roslyn-sdk/SyntaxTransformationQuickStart/TransformationCS/Program.cs b/csharp/roslyn-sdk/SyntaxTransformationQuickStart/TransformationCS/Program.cs index 87fea9e4fd1..147fd451883 100644 --- a/csharp/roslyn-sdk/SyntaxTransformationQuickStart/TransformationCS/Program.cs +++ b/csharp/roslyn-sdk/SyntaxTransformationQuickStart/TransformationCS/Program.cs @@ -35,13 +35,13 @@ static void Main(string[] args) private static Compilation CreateTestCompilation() { // - String programPath = @"..\..\Program.cs"; + String programPath = @"..\..\..\Program.cs"; String programText = File.ReadAllText(programPath); SyntaxTree programTree = CSharpSyntaxTree.ParseText(programText) .WithFilePath(programPath); - String rewriterPath = @".\..\TypeInferenceRewriter.cs"; + String rewriterPath = @"..\..\..\TypeInferenceRewriter.cs"; String rewriterText = File.ReadAllText(rewriterPath); SyntaxTree rewriterTree = CSharpSyntaxTree.ParseText(rewriterText)