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;