private static Assembly Build(string rookCode) { var result = new RookCompiler(CompilerParameters.ForBasicEvaluation()).Build(rookCode); if (result.Errors.Any()) { Fail.WithErrors(result.Errors); } return(result.CompiledAssembly); }
private static Assembly Build(string rookCode) { var result = new RookCompiler(CompilerParameters.ForBasicEvaluation()).Build(rookCode); if (result.Errors.Any()) { Fail.WithErrors(result.Errors); } return(result.CompiledAssembly); }