From fc8a05358a92cc3c77c5f1e30d536807ef0614fd Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Mon, 8 Apr 2019 13:49:55 +0300 Subject: were added scripting projects --- .../Scripting/Tango.Scripting/CompilationError.cs | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Software/Visual_Studio/Scripting/Tango.Scripting/CompilationError.cs (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting/CompilationError.cs') diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting/CompilationError.cs b/Software/Visual_Studio/Scripting/Tango.Scripting/CompilationError.cs new file mode 100644 index 000000000..03c96a413 --- /dev/null +++ b/Software/Visual_Studio/Scripting/Tango.Scripting/CompilationError.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Scripting +{ + public class CompilationError + { + public String File { get; set; } + + public String Name + { + get { return Path.GetFileName(File); } + } + + public String Message { get; set; } + public int Line { get; set; } + public int Character { get; set; } + + public override string ToString() + { + return String.Format("{0} {1} ({2},{3})", Message, Name, Line, Character); + } + } +} -- cgit v1.3.1