Upgrade to .NET 8 and code cleanup

This commit is contained in:
Stone_Red
2024-08-07 19:48:03 +02:00
parent 84afe70c96
commit 7078ed5637
33 changed files with 960 additions and 1008 deletions
+8 -14
View File
@@ -1,16 +1,10 @@
namespace YesNt.Interpreter.Runtime
{
internal class Line
{
public Line(string content, string fileName, int lineNumber)
{
Content = content;
FileName = fileName;
LineNumber = lineNumber;
}
namespace YesNt.Interpreter.Runtime;
public string Content { get; set; }
public string FileName { get; set; }
public int LineNumber { get; set; }
}
internal class Line(string content, string fileName, int lineNumber)
{
public string Content { get; set; } = content;
public string FileName { get; set; } = fileName;
public int LineNumber { get; set; } = lineNumber;
}