1 write to HasLoggedErrors
Microsoft.Build.Utilities.Core (1)
TaskLoggingHelper.cs (1)
734HasLoggedErrors = true;
185 references to HasLoggedErrors
installer.tasks (5)
GenerateFileVersionProps.cs (1)
160return !Log.HasLoggedErrors;
GenerateTestSharedFrameworkDepsFile.cs (1)
90return !Log.HasLoggedErrors;
RegenerateDownloadTable.cs (1)
112return !Log.HasLoggedErrors;
StaticFileRegeneration\RegenerateThirdPartyNotices.cs (2)
46return !Log.HasLoggedErrors; 124if (Log.HasLoggedErrors)
Microsoft.AspNetCore.Mvc.Testing.Tasks (1)
GenerateMvcTestManifestTask.cs (1)
50return !Log.HasLoggedErrors;
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (1)
40return !Log.HasLoggedErrors;
ValidateAssemblyLoadContext.cs (1)
42return !Log.HasLoggedErrors;
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomLogAndReturnTask.cs (1)
38return ReturnHasLoggedErrors ? !Log.HasLoggedErrors : Return;
Microsoft.Build.Tasks.CodeAnalysis (5)
ManagedCompiler.cs (1)
1063if (!Log.HasLoggedErrors && UsedCommandLineTool)
MapSourceRoots.cs (3)
116if (Log.HasLoggedErrors) 194if (!Log.HasLoggedErrors) 199return !Log.HasLoggedErrors;
Vbc.cs (1)
282return !Log.HasLoggedErrors;
Microsoft.Build.Tasks.Core (53)
AddToWin32Manifest.cs (5)
126return !Log.HasLoggedErrors; 139return !Log.HasLoggedErrors; 141return !Log.HasLoggedErrors; 143return !Log.HasLoggedErrors; 152return !Log.HasLoggedErrors;
AssemblyDependency\GenerateBindingRedirects.cs (1)
144return !Log.HasLoggedErrors;
AssemblyDependency\ResolveAssemblyReference.cs (2)
2649return success && !Log.HasLoggedErrors; 2667return success && !Log.HasLoggedErrors;
AssignLinkMetadata.cs (1)
72return !Log.HasLoggedErrors;
CodeTaskFactory.cs (3)
237if (_log.HasLoggedErrors) 244if (_log.HasLoggedErrors) 307return !_log.HasLoggedErrors;
CombinePath.cs (1)
80return !Log.HasLoggedErrors;
CombineTargetFrameworkInfoProperties.cs (1)
60return !Log.HasLoggedErrors;
CombineXmlElements.cs (1)
46return !Log.HasLoggedErrors;
ConvertToAbsolutePath.cs (1)
76return !Log.HasLoggedErrors;
CreateItem.cs (2)
94return !Log.HasLoggedErrors; 206return (expanded.ToArray(), !Log.HasLoggedErrors);
Delete.cs (1)
169return !Log.HasLoggedErrors;
DownloadFile.cs (1)
138return !_cancellationTokenSource.IsCancellationRequested && !Log.HasLoggedErrors;
ErrorFromResources.cs (1)
66return !Log.HasLoggedErrors;
FileIO\GetFileHash.cs (2)
106if (Log.HasLoggedErrors) 118return !Log.HasLoggedErrors;
FileIO\VerifyFileHash.cs (1)
71return !Log.HasLoggedErrors;
GenerateLauncher.cs (1)
104return !Log.HasLoggedErrors;
GenerateResource.cs (1)
3372Debug.Assert(_logger.HasLoggedErrors);
GetAssemblyIdentity.cs (1)
97return !Log.HasLoggedErrors;
GetCompatiblePlatform.cs (1)
70return !Log.HasLoggedErrors;
GetInstalledSDKLocations.cs (1)
204return !Log.HasLoggedErrors;
GetReferenceAssemblyPaths.cs (1)
232return !Log.HasLoggedErrors;
GetSDKReferenceFiles.cs (1)
295return !Log.HasLoggedErrors;
MakeDir.cs (1)
92return !Log.HasLoggedErrors;
MSBuildInternalMessage.cs (5)
63return !Log.HasLoggedErrors; 67return !Log.HasLoggedErrors; 72return !Log.HasLoggedErrors; 75return !Log.HasLoggedErrors; 81return !Log.HasLoggedErrors;
RemoveDir.cs (1)
110return !Log.HasLoggedErrors;
ResGen.cs (2)
224return !Log.HasLoggedErrors; 317return success && !Log.HasLoggedErrors;
ResolveCodeAnalysisRuleSet.cs (1)
51return !Log.HasLoggedErrors;
ResolveComReference.cs (1)
440return allReferencesResolvedSuccessfully && !Log.HasLoggedErrors;
ResolveSDKReference.cs (1)
469return !Log.HasLoggedErrors;
Telemetry.cs (1)
56return !Log.HasLoggedErrors;
ToolTaskExtension.cs (1)
54protected override bool HasLoggedErrors => Log.HasLoggedErrors || base.HasLoggedErrors;
Unzip.cs (2)
105if (!Log.HasLoggedErrors) 153return !_cancellationToken.IsCancellationRequested && !Log.HasLoggedErrors;
WriteCodeFragment.cs (2)
95if (Log.HasLoggedErrors) 130return !Log.HasLoggedErrors;
XamlTaskFactory\XamlDataDrivenToolTask.cs (2)
445return !_logPrivate.HasLoggedErrors && !Log.HasLoggedErrors;
XamlTaskFactory\XamlTaskFactory.cs (1)
189return !log.HasLoggedErrors;
ZipDirectory.cs (1)
99return !Log.HasLoggedErrors;
Microsoft.Build.Tasks.UnitTests (2)
GetCompatiblePlatform_Tests.cs (2)
272task.Log.HasLoggedErrors.ShouldBeFalse(); 295task.Log.HasLoggedErrors.ShouldBeFalse();
Microsoft.Build.Utilities.Core (4)
ToolTask.cs (4)
293protected virtual bool HasLoggedErrors => Log.HasLoggedErrors || LogPrivate.HasLoggedErrors || LogShared.HasLoggedErrors; 1350if (!Log.HasLoggedErrors)
Microsoft.DotNet.Arcade.Sdk (19)
src\CalculateAssemblyAndFileVersions.cs (1)
39return !Log.HasLoggedErrors;
src\CompareVersions.cs (1)
24return !Log.HasLoggedErrors;
src\GenerateChecksums.cs (4)
31return !Log.HasLoggedErrors; 37return !Log.HasLoggedErrors; 55return !Log.HasLoggedErrors; 59return !Log.HasLoggedErrors;
src\GenerateSourcePackageSourceLinkTargetsFile.cs (1)
32return !Log.HasLoggedErrors;
src\GetLicenseFilePath.cs (1)
33return !Log.HasLoggedErrors;
src\InstallDotNetCore.cs (3)
53return !Log.HasLoggedErrors; 87return !Log.HasLoggedErrors; 184return !Log.HasLoggedErrors;
src\LocateDotNet.cs (1)
40return !Log.HasLoggedErrors;
src\SaveItems.cs (1)
54return !Log.HasLoggedErrors;
src\SetCorFlags.cs (2)
44return !Log.HasLoggedErrors; 75if (Log.HasLoggedErrors)
src\SourceBuild\AddSourceToNuGetConfig.cs (1)
79return !Log.HasLoggedErrors;
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (1)
122return !Log.HasLoggedErrors;
src\Unsign.cs (1)
35return !Log.HasLoggedErrors;
src\ValidateLicense.cs (1)
33return !Log.HasLoggedErrors;
Microsoft.DotNet.Build.Tasks.Feed (7)
src\common\CreateAzureContainer.cs (1)
57return !Log.HasLoggedErrors;
src\common\UploadToAzure.cs (1)
135return !Log.HasLoggedErrors;
src\ConfigureInputFeed.cs (1)
21return !Log.HasLoggedErrors;
src\CreateAzureDevOpsFeed.cs (1)
189return !Log.HasLoggedErrors;
src\GenerateBuildManifest.cs (1)
158return !Log.HasLoggedErrors;
src\PublishSignedAssets.cs (1)
76return !Log.HasLoggedErrors;
src\PushToBuildStorage.cs (1)
256return !Log.HasLoggedErrors;
Microsoft.DotNet.Build.Tasks.Feed.Tests (9)
BuildModelFactoryTests.cs (8)
132_taskLoggingHelper.HasLoggedErrors.Should().BeFalse(); 237_taskLoggingHelper.HasLoggedErrors.Should().BeTrue(); 262_taskLoggingHelper.HasLoggedErrors.Should().BeTrue(); 295_taskLoggingHelper.HasLoggedErrors.Should().BeFalse(); 436_taskLoggingHelper.HasLoggedErrors.Should().BeFalse(); 573_taskLoggingHelper.HasLoggedErrors.Should().BeFalse(); 648_taskLoggingHelper.HasLoggedErrors.Should().BeFalse(); 722_taskLoggingHelper.HasLoggedErrors.Should().BeTrue();
PublishArtifactsInManifestTests.cs (1)
153expectedFailure.Should().Be(task.Log.HasLoggedErrors);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateNuSpec.cs (1)
106return !Log.HasLoggedErrors;
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.Build.Tasks.Templating (1)
GenerateFileFromTemplate.cs (1)
74return !Log.HasLoggedErrors;
Microsoft.DotNet.Build.Tasks.VisualStudio (7)
OptProf\FindLatestDrop.cs (1)
34return !Log.HasLoggedErrors;
OptProf\GenerateTrainingInputFiles.cs (2)
42return !Log.HasLoggedErrors; 73if (Log.HasLoggedErrors)
OptProf\GenerateTrainingPropsFile.cs (1)
38return !Log.HasLoggedErrors;
OptProf\GetRunSettingsSessionConfiguration.cs (1)
47return !Log.HasLoggedErrors;
Vsix\FinalizeInsertionVsixFile.cs (1)
34return !Log.HasLoggedErrors;
Vsix\GetPkgDefAssemblyDependencyGuid.cs (1)
36return !Log.HasLoggedErrors;
Microsoft.DotNet.Build.Tasks.Workloads (2)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
VisualStudioWorkloadTaskBase.wix.cs (1)
112return !Log.HasLoggedErrors;
Microsoft.DotNet.Deployment.Tasks.Links (3)
Microsoft.DotNet.GenAPI (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.GenFacades (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.Helix.Sdk (10)
AzureDevOpsTask.cs (1)
81return !Log.HasLoggedErrors;
CancelHelixJob.cs (1)
76if (!Log.HasLoggedErrors)
CreateXHarnessAndroidWorkItems.cs (1)
64return !Log.HasLoggedErrors;
CreateXHarnessAppleWorkItems.cs (1)
86return !Log.HasLoggedErrors;
CreateXUnitWorkItems.cs (1)
68return !Log.HasLoggedErrors;
DownloadFromResultsContainer.cs (1)
47if (Log.HasLoggedErrors)
FindDotNetCliPackage.cs (2)
72return !Log.HasLoggedErrors; 131if (!Log.HasLoggedErrors)
HelixTask.cs (1)
92return !Log.HasLoggedErrors;
SendHelixJob.cs (1)
262if (Log.HasLoggedErrors)
Microsoft.DotNet.NuGetRepack.Tasks (2)
src\ReplacePackageParts.cs (1)
76return !Log.HasLoggedErrors;
src\UpdatePackageVersionTask.cs (1)
42return !Log.HasLoggedErrors;
Microsoft.DotNet.PackageTesting (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Common\Internal\BuildTask.cs (1)
73public bool HasLoggedErrors { get { return _logger.HasLoggedErrors; } }
Microsoft.DotNet.SignCheck (1)
SignCheckTask.cs (1)
153return (result == 0 && !Log.HasLoggedErrors);
Microsoft.DotNet.SignTool (7)
src\BatchSignUtil.cs (2)
58if (_log.HasLoggedErrors) 91if (_log.HasLoggedErrors)
src\SignToolTask.cs (5)
176return !Log.HasLoggedErrors; 238if (Log.HasLoggedErrors) return; 245if (Log.HasLoggedErrors) return; 273if (Log.HasLoggedErrors) return; 288if (Log.HasLoggedErrors) return;
Microsoft.DotNet.SignTool.Tests (7)
SignToolTests.cs (7)
359task.Log.HasLoggedErrors.Should().BeFalse(); 397task.Log.HasLoggedErrors.Should().BeFalse(); 1432task.Log.HasLoggedErrors.Should().BeTrue(); 2292task.Log.HasLoggedErrors.Should().BeTrue(); 2328task.Log.HasLoggedErrors.Should().BeFalse(); 2411task.Log.HasLoggedErrors.Should().BeTrue(); 2427task.Log.HasLoggedErrors.Should().BeTrue();
Microsoft.DotNet.SourceBuild.Tasks (4)
src\ReadNuGetPackageInfos.cs (1)
42return !Log.HasLoggedErrors;
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
68return !Log.HasLoggedErrors;
src\UsageReport\WritePackageUsageData.cs (1)
261return !Log.HasLoggedErrors;
src\UsageReport\WriteUsageReports.cs (1)
165return !Log.HasLoggedErrors;
Microsoft.DotNet.SwaggerGenerator.MSBuild (1)
GenerateSwaggerCode.cs (1)
47return !Log.HasLoggedErrors;
Microsoft.DotNet.VersionTools.Tasks (2)
BaseDependenciesTask.cs (1)
77return !Log.HasLoggedErrors;
SubmitPullRequest.cs (1)
91return !Log.HasLoggedErrors;
Microsoft.DotNet.XliffTasks (1)
Tasks\XlfTask.cs (1)
28return !Log.HasLoggedErrors;
Microsoft.Extensions.ApiDescription.Client (1)
GetOpenApiReferenceMetadata.cs (1)
132return !Log.HasLoggedErrors;
Microsoft.Extensions.ApiDescription.Client.Tests (10)
GetCurrentOpenApiReferenceTest.cs (1)
42Assert.False(task.Log.HasLoggedErrors);
GetOpenApiReferenceMetadataTest.cs (9)
51Assert.False(task.Log.HasLoggedErrors); 109Assert.False(task.Log.HasLoggedErrors); 167Assert.False(task.Log.HasLoggedErrors); 225Assert.False(task.Log.HasLoggedErrors); 278Assert.True(task.Log.HasLoggedErrors); 324Assert.True(task.Log.HasLoggedErrors); 375Assert.False(task.Log.HasLoggedErrors); 438Assert.False(task.Log.HasLoggedErrors); 535Assert.False(task.Log.HasLoggedErrors);
Microsoft.Maui.Resizetizer (9)
AsyncTask.cs (1)
230 return !Log.HasLoggedErrors;
CreatePartialInfoPlistTask.cs (1)
69 return !Log.HasLoggedErrors;
DetectInvalidResourceOutputFilenamesTask.cs (1)
70 return !Log.HasLoggedErrors;
GeneratePackageAppxManifest.cs (1)
66 return !Log.HasLoggedErrors;
GenerateSplashAndroidResources.cs (1)
51 return !Log.HasLoggedErrors;
GenerateSplashAssets.cs (1)
42 return !Log.HasLoggedErrors;
GenerateSplashStoryboard.cs (1)
47 return !Log.HasLoggedErrors;
GenerateTizenManifest.cs (1)
78 return !Log.HasLoggedErrors;
GetMauiAssetPath.cs (1)
70 return !Log.HasLoggedErrors;
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
77return !Log.HasLoggedErrors;