16 writes to SuppressParent
Microsoft.Build.NuGetSdkResolver (1)
RestoreRunnerEx.cs (1)
72SuppressParent = LibraryIncludeFlags.All,
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
387SuppressParent = GetLibraryIncludeFlags(packageReferenceItem.GetProperty("PrivateAssets"), LibraryIncludeFlagUtils.DefaultSuppressParent),
NuGet.Build.Tasks.Pack (1)
PackTaskLogic.cs (1)
987SuppressParent = projectReference.PrivateAssets
NuGet.CommandLine.XPlat (1)
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (1)
383SuppressParent = suppressParent,
NuGet.Commands (4)
CommandRunners\PackCommandRunner.cs (1)
1002SuppressParent = dependency.SuppressParent & matchingDependency.SuppressParent
RestoreCommand\LockFileBuilder.cs (1)
588SuppressParent = suppressParent,
RestoreCommand\Utility\MSBuildRestoreUtility.cs (1)
695SuppressParent = suppressParent,
RestoreCommand\Utility\PackageSpecFactory.cs (1)
824SuppressParent = GetLibraryIncludeFlags(packageReferenceItem.GetMetadata("PrivateAssets"), LibraryIncludeFlagUtils.DefaultSuppressParent),
NuGet.DependencyResolver.Core (1)
PackagingUtility.cs (1)
45SuppressParent = LibraryIncludeFlags.None
NuGet.LibraryModel (2)
LibraryDependency.cs (2)
89SuppressParent = suppressParent; 104SuppressParent = other.SuppressParent;
NuGet.PackageManagement (1)
BuildIntegration\BuildIntegratedRestoreUtility.cs (1)
183SuppressParent = LibraryIncludeFlags.All
NuGet.ProjectModel (4)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (2)
264SuppressParent = suppressParentFlagsValue, 471SuppressParent = suppressParentFlagsValue,
PackageSpecReferenceDependencyProvider.cs (2)
278SuppressParent = reference.PrivateAssets, 405SuppressParent = isPruned ? LibraryIncludeFlags.All : dependency.SuppressParent,
34 references to SuppressParent
NuGet.CommandLine.XPlat (5)
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (1)
369var suppressParent = dependency.SuppressParent;
Utility\MSBuildAPIUtility.cs (4)
497if (libraryDependency.SuppressParent != LibraryIncludeFlagUtils.DefaultSuppressParent) 499var suppressParent = MSBuildStringUtility.Convert(LibraryIncludeFlagUtils.GetFlagString(libraryDependency.SuppressParent)); 695if (libraryDependency.SuppressParent != LibraryIncludeFlagUtils.DefaultSuppressParent) 697var suppressParent = MSBuildStringUtility.Convert(LibraryIncludeFlagUtils.GetFlagString(libraryDependency.SuppressParent));
NuGet.Commands (13)
CommandRunners\PackCommandRunner.cs (4)
312LibraryIncludeFlags effectiveInclude = dependency.IncludeType & ~dependency.SuppressParent; 314if (dependency.IncludeType == LibraryIncludeFlags.None || dependency.SuppressParent == LibraryIncludeFlags.All) 1002SuppressParent = dependency.SuppressParent & matchingDependency.SuppressParent
RestoreCommand\DependencyGraphResolver.cs (4)
433if ((childLibraryDependencyIndex != LibraryDependencyIndex.Project && childLibraryDependency.SuppressParent == LibraryIncludeFlags.All) 562&& childLibraryDependency.SuppressParent != LibraryIncludeFlags.All 595&& childLibraryDependency.SuppressParent != LibraryIncludeFlags.All 1283if (dependency.SuppressParent == LibraryIncludeFlags.All)
RestoreCommand\LockFileBuilder.cs (1)
556suppressParent &= dependency.SuppressParent;
RestoreCommand\Utility\IncludeFlagUtils.cs (3)
165&& dependency.SuppressParent != LibraryIncludeFlags.All) 171& (~dependency.SuppressParent)); 200flags &= ~match.SuppressParent;
RestoreCommand\Utility\LockFileUtils.cs (1)
527&& d.SuppressParent != LibraryIncludeFlags.All
NuGet.DependencyResolver.Core (1)
Remote\RemoteDependencyWalker.cs (1)
145|| dependency.SuppressParent != LibraryIncludeFlags.All)
NuGet.LibraryModel (4)
LibraryDependency.cs (4)
104SuppressParent = other.SuppressParent; 126hashCode.AddStruct(SuppressParent); 162SuppressParent == other.SuppressParent &&
NuGet.PackageManagement (4)
BuildIntegratedPackageReference.cs (2)
33developmentDependency: dependency?.SuppressParent == LibraryIncludeFlags.All, 54developmentDependency: dependency?.SuppressParent == LibraryIncludeFlags.All,
BuildIntegration\BuildIntegratedRestoreUtility.cs (1)
176if (dependency.SuppressParent == LibraryIncludeFlagUtils.DefaultSuppressParent &&
NuGetPackageManager.cs (1)
3342installationContext.SuppressParent = resolvedAction.SuppressParent;
NuGet.ProjectModel (7)
PackageSpecReferenceDependencyProvider.cs (1)
405SuppressParent = isPruned ? LibraryIncludeFlags.All : dependency.SuppressParent,
PackageSpecWriter.cs (5)
375|| dependency.SuppressParent != LibraryIncludeFlagUtils.DefaultSuppressParent 395if (dependency.SuppressParent != LibraryIncludeFlagUtils.DefaultSuppressParent) 397SetValue(writer, "suppressParent", dependency.SuppressParent.AsString()); 475if (dependency.SuppressParent != LibraryIncludeFlagUtils.DefaultSuppressParent) 477SetValue(writer, "suppressParent", dependency.SuppressParent.ToString());
ProjectLockFile\PackagesLockFileUtilities.cs (1)
476&& dep.SuppressParent != LibraryIncludeFlags.All