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