Skip to content

Commit

Permalink
fix file path (#6980)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXhh authored Jul 15, 2024
1 parent a76233b commit d8156b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ static void Main(string[] args)
private static Compilation CreateTestCompilation()
{
// <SnippetCreateTestCompilation>
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)
Expand Down

0 comments on commit d8156b8

Please sign in to comment.