Mono.CSharp.CompilerCallableEntryPoint.InvokeCompiler C# (CSharp) Method

InvokeCompiler() public static method

public static InvokeCompiler ( string args, TextWriter error ) : bool
args string
error System.IO.TextWriter
return bool
		public static bool InvokeCompiler (string [] args, TextWriter error)
		{
			try {
				StreamReportPrinter srp = new StreamReportPrinter (error);
				Driver d = Driver.Create (args, true, null, srp);
				if (d == null)
					return false;

				return d.Compile () && srp.ErrorsCount == 0;
			} finally {
				Reset ();
			}
		}
CompilerCallableEntryPoint