We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39b7db8 + 8a843a8 commit 3a17548Copy full SHA for 3a17548
Source/MSBuild.Community.Tasks/Script.cs
@@ -219,7 +219,7 @@ public override bool Execute()
219
CompilerResults results = provider.CompileAssemblyFromDom(options, compileUnit);
220
221
Assembly compiled = null;
222
- if (results.Errors.Count > 0)
+ if (results.Errors.HasErrors)
223
{
224
string errors = "There were compiler errors:" + Environment.NewLine;
225
foreach (CompilerError err in results.Errors)
0 commit comments