Skip to content

Commit

Permalink
fix file path
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXhh committed Jul 15, 2024
1 parent a76233b commit af3762f
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 af3762f

Please sign in to comment.