Interpreter.ShowErrors C# (CSharp) Méthode

ShowErrors() private méthode

private ShowErrors ( CompilerResults cr, string codeStr ) : void
cr CompilerResults
codeStr string
Résultat void
    void ShowErrors(CompilerResults cr, string codeStr) {
		StringBuilder sbErr;
		sbErr = new StringBuilder("Compiling string: ");
		sbErr.AppendFormat("'{0}'\n\n", codeStr);
		foreach(CompilerError err in cr.Errors) {
			sbErr.AppendFormat("{0}\n",err.ErrorText);
		}
		Utils.Print(sbErr.ToString());		
    }