From 3a29f16c4d687b0ff1dc9708405fe3221fa0058d Mon Sep 17 00:00:00 2001 From: Oleg Shilo Date: Wed, 29 Nov 2023 23:47:53 +1100 Subject: [PATCH] - Issue #8: hello_auto sample: Cannot find entry point --- Source/Precompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Precompiler.cs b/Source/Precompiler.cs index e813ca3..39750cf 100644 --- a/Source/Precompiler.cs +++ b/Source/Precompiler.cs @@ -413,7 +413,7 @@ internal static Result Process(string content, string consoleEncoding) } } - string entryPointDefinition = "///CS-Script auto-class generation" + Environment.NewLine + + string entryPointDefinition = "static ///CS-Script auto-class generation" + Environment.NewLine + "#line " + (lineCount + 1) + " \"" + scriptFile + "\""; result.BodyInjectedLine = lineCount;