Mono.Cecil.Tests.CodeDomCompilationService.GetErrorMessage C# (CSharp) Méthode

GetErrorMessage() static private méthode

static private GetErrorMessage ( CompilerResults results ) : string
results CompilerResults
Résultat string
		static string GetErrorMessage (CompilerResults results)
		{
			if (!results.Errors.HasErrors)
				return string.Empty;

			var builder = new StringBuilder ();
			foreach (CompilerError error in results.Errors)
				builder.AppendLine (error.ToString ());
			return builder.ToString ();
		}