2 writes to NoWarn
NuGet.ProjectModel (2)
WarningProperties.cs (2)
40
NoWarn
= new HashSet<NuGetLogCode>();
48
NoWarn
= noWarn ?? throw new ArgumentNullException(nameof(noWarn));
11 references to NoWarn
NuGet.Commands (3)
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (2)
57
parentWarningProperties.ProjectWideWarningProperties.
NoWarn
.AsHashSet(),
123
nodeProjectWideNoWarn = nodeWarningProperties.ProjectWideWarningProperties.
NoWarn
.AsHashSet();
RestoreCommand\Logging\WarningPropertiesCollection.cs (1)
144
if (warningProperties.
NoWarn
.Contains(message.Code))
NuGet.ProjectModel (8)
PackageSpecWriter.cs (3)
312
msbuildMetadata.ProjectWideWarningProperties.
NoWarn
.Count > 0 ||
319
if (msbuildMetadata.ProjectWideWarningProperties.
NoWarn
.Count > 0)
323
.
NoWarn
WarningProperties.cs (5)
59
hashCode.AddUnorderedSequence(
NoWarn
);
84
EqualityUtility.SetEqualsWithNullCheck(
NoWarn
, other.
NoWarn
) &&
90
return new WarningProperties(warningsAsErrors: new HashSet<NuGetLogCode>(WarningsAsErrors), noWarn: new HashSet<NuGetLogCode>(
NoWarn
), allWarningsAsErrors: AllWarningsAsErrors, warningsNotAsErrors: WarningsNotAsErrors);
112
props.
NoWarn
.UnionWith(noWarn);