3 writes to AllWarningsAsErrors
NuGet.ProjectModel (3)
WarningProperties.cs (3)
41
AllWarningsAsErrors
= false;
49
AllWarningsAsErrors
= allWarningsAsErrors;
108
AllWarningsAsErrors
= MSBuildStringUtility.IsTrue(treatWarningsAsErrors)
8 references to AllWarningsAsErrors
NuGet.Commands (2)
RestoreCommand\Logging\WarningPropertiesCollection.cs (1)
168
if ((warningProperties.
AllWarningsAsErrors
&& message.Code > NuGetLogCode.Undefined && !warningProperties.WarningsNotAsErrors.Contains(message.Code)) ||
RestoreCommand\RestoreCommand.cs (1)
391
telemetry.TelemetryEvent[TreatWarningsAsErrors] = _request.Project.RestoreMetadata.ProjectWideWarningProperties.
AllWarningsAsErrors
;
NuGet.ProjectModel (6)
PackageSpecWriter.cs (2)
311
(msbuildMetadata.ProjectWideWarningProperties.
AllWarningsAsErrors
||
317
SetValueIfTrue(writer, "allWarningsAsErrors", msbuildMetadata.ProjectWideWarningProperties.
AllWarningsAsErrors
);
WarningProperties.cs (4)
57
hashCode.AddObject(
AllWarningsAsErrors
);
82
return
AllWarningsAsErrors
== other.
AllWarningsAsErrors
&&
90
return new WarningProperties(warningsAsErrors: new HashSet<NuGetLogCode>(WarningsAsErrors), noWarn: new HashSet<NuGetLogCode>(NoWarn), allWarningsAsErrors:
AllWarningsAsErrors
, warningsNotAsErrors: WarningsNotAsErrors);